S_Box.h
Go to the documentation of this file.
1 #ifndef _S_BOX_H
2 # define _S_BOX_H
3 
4 # pragma once
5 
7 
8 namespace sch
9 {
11 {
12 public:
19  SCH_API S_Box(Scalar width, Scalar height, Scalar depth);
20  SCH_API virtual ~S_Box(void);
21 
22  SCH_API virtual S_Box * clone() const;
23 
24  SCH_API virtual Point3 l_Support(const Vector3 & v, int & lastFeature) const;
25 
26  SCH_API virtual S_ObjectType getType() const;
27 
28  SCH_API virtual void getBoxParameters(Scalar & a, Scalar & b, Scalar & c) const;
29 
30 protected:
32 };
33 } // namespace sch
34 
35 #endif
36 
sch
Definition: CD_Pair.h:11
sch::S_Box::c_
Scalar c_
Definition: S_Box.h:31
sch::S_Box::b_
Scalar b_
Definition: S_Box.h:31
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_Box::a_
Scalar a_
Definition: S_Box.h:31
sch::S_Box::getBoxParameters
virtual SCH_API void getBoxParameters(Scalar &a, Scalar &b, Scalar &c) const
S_ObjectNonNormalized.h
sch::S_ObjectNonNormalized
Definition: S_ObjectNonNormalized.h:16
sch::S_Box::clone
virtual SCH_API S_Box * clone() const
Returns a copy of this S_Object.
sch::S_Box::S_Box
SCH_API S_Box(Scalar width, Scalar height, Scalar depth)
constructor
sch::S_Box::~S_Box
virtual SCH_API ~S_Box(void)
sch::S_Box
Definition: S_Box.h:10
CD_Matrix::Vector3T< Scalar, false >
sch::Scalar
double Scalar
Definition: SCH_Types.h:23
sch::S_Box::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....
sch::S_Box::getType
virtual SCH_API S_ObjectType getType() const
must be overloaded to return the type