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 
6 
7 namespace sch
8 {
9 
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:
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