Go to the documentation of this file.
12 # ifdef WITH_BOOST_1_36
15 # include <boost/serialization/split_member.hpp>
82 template<
class Archive>
83 void save(Archive & ar,
const unsigned int )
const
85 ar & boost::serialization::base_object<S_ObjectNonNormalized>(*
this);
89 template<
class Archive>
90 void load(Archive & ar,
const unsigned int )
92 ar & boost::serialization::base_object<S_ObjectNonNormalized>(*
this);
98 BOOST_SERIALIZATION_SPLIT_MEMBER()
void save(Archive &ar, const unsigned int) const
Definition: S_Polyhedron.h:83
virtual SCH_API S_ObjectType getType() const
must be overloaded to return the type
SCH_API Point3 naiveSupport(const Vector3 &v) const
const SCH_API S_Polyhedron & operator=(const S_Polyhedron &)
S_ObjectType
type of a solid object. Don't use it to cast !
Definition: S_Object.h:233
#define SCH_API
Definition: sch_api.h:13
SCH_API int getTrianglesNumber() const
SCH_API void clearNeighbors()
clears the neighbors tables;
SCH_API void updateVertexNeighbors()
updates the Neighborhood of the vertexes, must be called on polyhedron \which vertexes have no neighb...
SCH_API void clear()
clears all the polyhedron;
SCH_API S_Polyhedron(void)
void load(Archive &ar, const unsigned int)
Definition: S_Polyhedron.h:90
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_API void updateFastArrays()
updates the fast access arrays, must be called after each polyhedron modification
Definition: S_ObjectNonNormalized.h:16
virtual SCH_API void constructFromFile(const std::string &filename)
loads the polyhedron from a file. the file must be in the format of Qhull qconvex output,...
virtual SCH_API S_Polyhedron * clone() const
Returns a copy of this S_Object.
virtual SCH_API ~S_Polyhedron(void)
virtual SCH_API void saveToBinary(const std::string &filename)
Save the object to a binary archive.
SCH_API Polyhedron_algorithms * getPolyhedronAlgorithm()
Definition: S_Polyhedron.h:77
Definition: Polyhedron_algorithms.h:49
virtual SCH_API void loadFromBinary(const std::string &filename)
Load the object from a binary archive.
SCH_API void deleteVertexesWithoutNeighbors()
deletes aal the vertexes that dont have neighbors;
Definition: S_Polyhedron.h:19
Polyhedron_algorithms poly
Definition: S_Polyhedron.h:105