#include <sch/S_Polyhedron/S_PolyhedronVertex.h>
◆ S_PolyhedronVertex()
SCH_API sch::S_PolyhedronVertex::S_PolyhedronVertex |
( |
void |
| ) |
|
◆ ~S_PolyhedronVertex()
virtual SCH_API sch::S_PolyhedronVertex::~S_PolyhedronVertex |
( |
void |
| ) |
|
|
virtual |
◆ addNeighbor()
◆ clearNeighbors()
SCH_API void sch::S_PolyhedronVertex::clearNeighbors |
( |
| ) |
|
◆ clone()
Gives a copy of the current vertex, without the neighbors array, keeping just the cordinates and the number.
◆ getCoordinates()
const SCH_API Vector3& sch::S_PolyhedronVertex::getCoordinates |
( |
| ) |
const |
◆ getCordinates()
SCH_CORE_DEPRECATED const SCH_API Vector3& sch::S_PolyhedronVertex::getCordinates |
( |
| ) |
const |
◆ getNextVertex()
gets the next vertex in a support point search
◆ getNextVertexH()
gets the next vertex support height
◆ getNumber()
unsigned int S_PolyhedronVertex::getNumber |
( |
| ) |
const |
|
inline |
gets the number of the vertex in the polyhedron
◆ getNumNeighbors()
SCH_API unsigned sch::S_PolyhedronVertex::getNumNeighbors |
( |
| ) |
const |
gets the number of neighbors
◆ isHere() [1/2]
virtual SCH_API bool sch::S_PolyhedronVertex::isHere |
( |
const Vector3 & |
direction | ) |
|
|
virtual |
checks if this is the support point of the polyhedron in some given direction
- Parameters
-
direction | the direction vector |
- Returns
- returns a boolean answer and stores the next vertex and its support height in case it is not the support
◆ isHere() [2/2]
virtual SCH_API bool sch::S_PolyhedronVertex::isHere |
( |
const Vector3 & |
direction, |
|
|
const Scalar & |
currentsupportH |
|
) |
| |
|
virtual |
checks if this is the support point of the polyhedron in some given direction
- Parameters
-
direction | the direction vector |
cuurentsupportH,is | the support height of this points, usually given by a neighbor |
- Returns
- returns a boolean answer and stores the next vertex and its support height in case it is not the support
◆ serialize()
template<class Archive >
void sch::S_PolyhedronVertex::serialize |
( |
Archive & |
ar, |
|
|
const unsigned int |
|
|
) |
| |
|
inline |
◆ setCoordinates() [1/2]
◆ setCoordinates() [2/2]
SCH_API void sch::S_PolyhedronVertex::setCoordinates |
( |
const Vector3 & |
v | ) |
|
◆ setCordinates() [1/2]
SCH_CORE_DEPRECATED SCH_API void sch::S_PolyhedronVertex::setCordinates |
( |
const Scalar & |
x, |
|
|
const Scalar & |
y, |
|
|
const Scalar & |
z |
|
) |
| |
◆ setCordinates() [2/2]
SCH_CORE_DEPRECATED SCH_API void sch::S_PolyhedronVertex::setCordinates |
( |
const Vector3 & |
v | ) |
|
◆ setNumber()
SCH_API void sch::S_PolyhedronVertex::setNumber |
( |
unsigned int |
| ) |
|
sets the number of the vertex in the polyhedron
◆ supportH()
◆ updateFastArrays()
SCH_API void sch::S_PolyhedronVertex::updateFastArrays |
( |
| ) |
|
updates fast access neighbors array, must be called at each neighbors modification
The documentation for this class was generated from the following files: