Go to the source code of this file.
|
SU_EXPORT SUEntityRef | SUVertexToEntity (SUVertexRef vertex) |
| Converts from an SUVertexRef to an SUEntityRef. This is essentially an upcast operation. More...
|
|
SU_EXPORT SUVertexRef | SUVertexFromEntity (SUEntityRef entity) |
| Converts from an SUEntityRef to an SUVertexRef. This is essentially a downcast operation so the given SUEntityRef must be convertible to an SUVertexRef. More...
|
|
SU_RESULT | SUVertexGetPosition (SUVertexRef vertex, struct SUPoint3D *position) |
| Retrieves the position of a vertex object. More...
|
|
SU_RESULT | SUVertexGetNumEdges (SUVertexRef vertex, size_t *count) |
| Retrieves the number of edges that the vertex is associated with. More...
|
|
SU_RESULT | SUVertexGetEdges (SUVertexRef vertex, size_t len, SUEdgeRef edges[], size_t *count) |
| Retrieves the edge objects associated with a vertex object. More...
|
|
SU_RESULT | SUVertexGetNumFaces (SUVertexRef vertex, size_t *count) |
| Retrieves the number of faces that the vertex is associated with. More...
|
|
SU_RESULT | SUVertexGetFaces (SUVertexRef vertex, size_t len, SUFaceRef faces[], size_t *count) |
| Retrieves the face objects associated with a vertex object. More...
|
|
SU_RESULT | SUVertexGetNumLoops (SUVertexRef vertex, size_t *count) |
| Retrieves the number of loops that the vertex is associated with. More...
|
|
SU_RESULT | SUVertexGetLoops (SUVertexRef vertex, size_t len, SULoopRef loops[], size_t *count) |
| Retrieves the loop objects associated with a vertex object. More...
|
|
Converts from an SUEntityRef to an SUVertexRef. This is essentially a downcast operation so the given SUEntityRef must be convertible to an SUVertexRef.
- Parameters
-
[in] | entity | The entity object. |
- Returns
- The converted SUVertexRef if the downcast operation succeeds
- If the downcast operation fails, the returned reference will be invalid
Retrieves the edge objects associated with a vertex object.
- Parameters
-
[in] | vertex | The vertex object. |
[in] | len | The number of edges to retrieve. |
[out] | edges | The edges retrieved. |
[out] | count | The number of edges retrieved. |
- Returns
-
Retrieves the face objects associated with a vertex object.
- Parameters
-
[in] | vertex | The vertex object. |
[in] | len | The number of faces to retrieve. |
[out] | faces | The faces retrieved. |
[out] | count | The number of faces retrieved. |
- Returns
-
Retrieves the loop objects associated with a vertex object.
- Parameters
-
[in] | vertex | The vertex object. |
[in] | len | The number of loops to retrieve. |
[out] | loops | The loops retrieved. |
[out] | count | The number of loops retrieved. |
- Returns
-
SU_RESULT SUVertexGetNumEdges |
( |
SUVertexRef |
vertex, |
|
|
size_t * |
count |
|
) |
| |
Retrieves the number of edges that the vertex is associated with.
- Parameters
-
[in] | vertex | The vertex object. |
[out] | count | The number of edges. |
- Returns
-
SU_RESULT SUVertexGetNumFaces |
( |
SUVertexRef |
vertex, |
|
|
size_t * |
count |
|
) |
| |
Retrieves the number of faces that the vertex is associated with.
- Parameters
-
[in] | vertex | The vertex object. |
[out] | count | The number of faces. |
- Returns
-
SU_RESULT SUVertexGetNumLoops |
( |
SUVertexRef |
vertex, |
|
|
size_t * |
count |
|
) |
| |
Retrieves the number of loops that the vertex is associated with.
- Parameters
-
[in] | vertex | The vertex object. |
[out] | count | The number of loops. |
- Returns
-
Retrieves the position of a vertex object.
- Parameters
-
[in] | vertex | The vertex object. |
[out] | position | The vertex position. |
- Returns
-
Converts from an SUVertexRef to an SUEntityRef. This is essentially an upcast operation.
- Parameters
-
[in] | vertex | The vertex object. |
- Returns
- The converted SUEntityRef if vertex is a valid object
- If not, the returned reference will be invalid