|
CFx SDK Documentation 2024 SP0
|
#include <FMMdlVertex.h>
Public Member Functions | |
| Vertex (const OdGePoint3d &ptPoint, Body *pBody) | |
| const OdGePoint3d & | point () const |
| Vertex * | prev () const |
| Vertex * | next () const |
| void | setPoint (const OdGePoint3d &ptPoint) |
| void | addNext (Vertex *pNext) |
| void | set (Vertex *pPrev, Vertex *pNext) |
| void | setNext (Vertex *pNext) |
| void | setPrev (Vertex *pPrev) |
| bool | at (const Surface *pSurface) const |
| void | normal (const Face &atF, OdGeVector3d &normal) const |
| void | addSurfaceData (Surface *pSurface) |
| void | removeSurfaceData (Surface *pSurface) |
| ~Vertex () | |
Public Member Functions inherited from FacetModeler::Entity | |
| Entity () | |
| Entity (const Entity &ent) | |
| Entity & | operator= (const Entity &entity) |
| OdUInt32 | flags () const |
| void | setFlags (OdUInt32 iFlags) |
| bool | isFlagOn (OdUInt32 iFlag) const |
| void | setIsFlagOn (OdUInt32 iFlag, bool bOn) |
| TagType | tag () const |
| void | setTag (TagType nTag) |
| virtual | ~Entity () |
Friends | |
| class | Body |
| class | BodyImpl |
| class | BodyCustom |
Represents facet body vertex objects.
Definition at line 37 of file FMMdlVertex.h.
| FacetModeler::Vertex::Vertex | ( | const OdGePoint3d & | ptPoint, |
| Body * | pBody | ||
| ) |
Constructor. Creates a vertex with the specified point position and owner body.
| ptPoint | [in] Vertex point coordinates. |
| pBody | [in] Pointer to the body to which the vertex will be added. |
| FacetModeler::Vertex::~Vertex | ( | ) |
Destructor.
Adds a new vertex to the bidirectional list.
| pNext | [in/out] Vertex to add. |
Adds new surface data to this vertex object.
| pSurface | [in] The surface data to add. |
| bool FacetModeler::Vertex::at | ( | const Surface * | pSurface | ) | const |
Checks whether the specified surface owns this vertex.
| pSurface | [in] Surface for checking. |
| Vertex * FacetModeler::Vertex::next | ( | ) | const |
Gets the next vertex in the body.
| void FacetModeler::Vertex::normal | ( | const Face & | atF, |
| OdGeVector3d & | normal | ||
| ) | const |
Gets the normal vector at this vertex on the specified face.
| atF | [in] Face for normal calculation. |
| normal | [out] Resulting normal as OdGeVector3d. |
| const OdGePoint3d & FacetModeler::Vertex::point | ( | ) | const |
Gets point coordinates of the vertex.
| Vertex * FacetModeler::Vertex::prev | ( | ) | const |
Gets the previous vertex in the body.
Removes existing surface data.
| pSurface | [in] The surface data to remove. |
Sets pointers to the previous and next vertices.
| pPrev | [in] Previous vertex to set. |
| pNext | [in] Next vertex to set. |
Sets the pointer to the next vertex.
| pNext | [in] Next vertex to set. |
| void FacetModeler::Vertex::setPoint | ( | const OdGePoint3d & | ptPoint | ) |
Sets the vertex position to the specified point.
| ptPoint | [in] New vertex position to set. |
Sets the pointer to the previous vertex.
| pPrev | [in] Next vertex to set. |
|
friend |
Definition at line 176 of file FMMdlVertex.h.
|
friend |
Definition at line 178 of file FMMdlVertex.h.
|
friend |
Definition at line 177 of file FMMdlVertex.h.