S_ObjectNonNormalized.h
Go to the documentation of this file.
1 #ifndef __S_OBJECTNONNORMALIZED
2 #define __S_OBJECTNONNORMALIZED
3 
4 #pragma once
6 #include <sch/sch_api.h>
7 
8 #ifdef WITH_BOOST_1_36
10 #endif
11 #include <boost/serialization/base_object.hpp>
12 
13 namespace sch
14 {
15 
17 {
18 public:
21 
27  SCH_API virtual Point3 support(const Vector3 & v) const;
28 
35  SCH_API virtual Point3 support(const Vector3 & v, int & LastFeature) const;
36 
37  template<class Archive>
38  void serialize(Archive & ar, const unsigned int /*version*/)
39  {
40  ar & boost::serialization::base_object<S_Object>(*this);
41  }
42 };
43 
45 
46 } // namespace sch
47 
48 #endif
Definition: S_ObjectNonNormalized.h:17
virtual SCH_API Point3 support(const Vector3 &v) const
put the vector in objects coordinates, then calls l_support, without normalizing it
Definition: S_ObjectNonNormalized.hxx:1
SCH_API S_ObjectNonNormalized(void)
void serialize(Archive &ar, const unsigned int)
Definition: S_ObjectNonNormalized.h:38
SCH_API ~S_ObjectNonNormalized(void)
Definition: S_Object.h:72
Definition: CD_Pair.h:12
#define SCH_API
Definition: sch_api.h:13