Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
i
m
p
q
s
t
v
Functions
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Functions
_
a
b
c
d
e
f
g
i
j
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
_
a
b
c
d
e
f
g
h
l
m
n
o
p
r
s
t
v
w
z
Typedefs
Enumerations
Enumerator
Related Functions
Files
File List
File Members
All
Functions
Macros
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
S_Sphere.h
Go to the documentation of this file.
1
#pragma once
2
#ifndef _S_SPHERE_H
3
# define _S_SPHERE_H
4
5
# include <
sch/S_Object/S_ObjectNormalized.h
>
6
7
namespace
sch
8
{
9
10
class
S_Sphere
:
public
S_ObjectNormalized
11
{
12
public
:
17
SCH_API
S_Sphere
(
const
Scalar
& radius);
18
SCH_API
virtual
~S_Sphere
();
19
20
SCH_API
virtual
S_Sphere
*
clone
()
const
;
21
22
SCH_API
virtual
Point3
l_Support
(
const
Vector3
& v,
int
& lastFeature)
const
;
23
24
SCH_API
virtual
S_ObjectType
getType
()
const
;
25
26
SCH_API
virtual
Scalar
getRadius
()
const
;
27
28
protected
:
29
Scalar
radius_
;
30
};
31
}
// namespace sch
32
33
#endif
34
sch
Definition:
CD_Pair.h:11
sch::S_Sphere::clone
virtual SCH_API S_Sphere * clone() const
Returns a copy of this S_Object.
sch::S_Sphere::radius_
Scalar radius_
Definition:
S_Sphere.h:29
sch::S_Object::S_ObjectType
S_ObjectType
type of a solid object. Don't use it to cast !
Definition:
S_Object.h:233
SCH_API
#define SCH_API
Definition:
sch_api.h:13
sch::S_Sphere
Definition:
S_Sphere.h:10
sch::S_Sphere::S_Sphere
SCH_API S_Sphere(const Scalar &radius)
constructor
S_ObjectNormalized.h
sch::S_ObjectNormalized
Definition:
S_ObjectNormalized.h:15
sch::S_Sphere::l_Support
virtual SCH_API Point3 l_Support(const Vector3 &v, int &lastFeature) const
gives the support point for a given vector in local cordinates and a given last feature....
CD_Matrix::Vector3T< Scalar, false >
sch::S_Sphere::~S_Sphere
virtual SCH_API ~S_Sphere()
sch::Scalar
double Scalar
Definition:
SCH_Types.h:23
sch::S_Sphere::getType
virtual SCH_API S_ObjectType getType() const
must be overloaded to return the type
sch::S_Sphere::getRadius
virtual SCH_API Scalar getRadius() const
include
sch
S_Object
S_Sphere.h
Generated by
1.8.17