Go to the documentation of this file. 1 #ifndef _S_POLYHEDRONVERTEX
2 #define _S_POLYHEDRONVERTEX
5 #include <boost/noncopyable.hpp>
8 #include <sch/core/deprecated.hh>
88 template<
class Archive>
103 std::vector<S_PolyhedronVertex *> neighbors_;
107 unsigned int number_;
void serialize(Archive &ar, const unsigned int)
Definition: S_PolyhedronVertex.h:89
#define SCH_API
Definition: sch_api.h:13
virtual SCH_API bool isHere(const Vector3 &direction, const Scalar ¤tsupportH)
checks if this is the support point of the polyhedron in some given direction
SCH_API void setCoordinates(const Vector3 &v)
SCH_CORE_DEPRECATED SCH_API void setCordinates(const Vector3 &v)
SCH_API void addNeighbor(S_PolyhedronVertex *)
SCH_API Scalar supportH(const Vector3 &direction) const
SCH_API S_PolyhedronVertex(void)
SCH_API Scalar getNextVertexH() const
gets the next vertex support height
SCH_CORE_DEPRECATED const SCH_API Vector3 & getCordinates() const
SCH_API unsigned int getNumber() const
gets the number of the vertex in the polyhedron
Definition: S_PolyhedronVertex.hxx:1
Definition: S_PolyhedronVertex.h:14
virtual SCH_API S_PolyhedronVertex * clone()
Gives a copy of the current vertex, without the neighbors array, keeping just the cordinates and the ...
SCH_API void updateFastArrays()
updates fast access neighbors array, must be called at each neighbors modification
SCH_API void clearNeighbors()
clears the Neighbors
virtual SCH_API ~S_PolyhedronVertex(void)
const SCH_API Vector3 & getCoordinates() const
SCH_API unsigned getNumNeighbors() const
gets the number of neighbors
double Scalar
Definition: SCH_Types.h:23
SCH_API void setNumber(unsigned int)
sets the number of the vertex in the polyhedron
SCH_API S_PolyhedronVertex * getNextVertex() const
gets the next vertex in a support point search