Inquiring Functions
TdOAGetVertices
Name
TdOAGetVertices - Get vertices belonging to an object
CSpecification
int TdOAGetVertices(int obj, int *qty, int **list)
Parameters
object |
specifies the object identifier |
qty |
returns the number of vertices
|
list |
returns the list of vertex identifiers
|
Description
The set of vertices belonging to the object object is returned.
Notes
TDM allocates internally memory space necessary for the
returned list of vertex identifiers.
Errors
O (zero) is returned if no error occurs.
See Also
TdOAGetEdges
Name
TdOAGetEdges - Get edges belonging to an object
CSpecification
int TdOAGetEdges(int obj, int *qty, int **list)
Parameters
object |
specifies the object identifier |
qty |
returns the number of edges
|
list |
returns the list of edge identifiers
|
Description
The set of edges belonging to the object object is returned.
Notes
TDM allocates internally memory space necessary for the
returned list of edge identifiers.
Errors
O (zero) is returned if no error occurs.
See Also
TdOAGetFaces
Name
TdOAGetFaces - Get faces belonging to an object
CSpecification
int TdOAGetFaces(int obj, int *qty, int **list)
Parameters
object |
specifies the object identifier |
qty |
returns the number of faces
|
list |
returns the list of face identifiers
|
Description
The set of faces belonging to the object object is returned.
Notes
TDM allocates internally memory space necessary for the
returned list of face identifiers.
Errors
O (zero) is returned if no error occurs.
See Also
TdEAGetAdjVertices
Name
TdEAGetAdjVertices - Get the vertices belonging to an edge
CSpecification
int TdEAGetAdjVertices (int edge, int *qty, int **list)
Parameters
edge |
specifies the edge identifier |
qty |
returns the number of vertices
|
list |
returns the list of vertex identifiers
|
Description
The set of vertices belonging to the edge edge is returned.
Notes
TDM allocates internally memory space necessary for the
returned list of vertex identifiers.
Errors
O (zero) is returned if no error occurs.
See Also
TdEAGetAdjFaces
Name
TdEAGetAdjFaces - Get the faces belonging to an edge
CSpecification
int TdEAGetAdjFaces (int edge, int *qty, int **list)
Parameters
edge |
specifies the edge identifier |
qty |
returns the number of faces
|
list |
returns the list of face identifiers
|
Description
The set of faces belonging to the edge edge is returned.
Notes
TDM allocates internally memory space necessary for the
returned list of face identifiers.
Errors
O (zero) is returned if no error occurs.
See Also
TdFAGetAdjVertices
Name
TdFAGetAdjVertices - Get the vertices belonging to a face
CSpecification
int TdFAGetAdjVertices (int face, int *qty, int **list)
Parameters
face |
specifies the face identifier |
qty |
returns the number of vertices
|
list |
returns the list of vertex identifiers
|
Description
The set of vertices belonging to the face face is returned.
Notes
TDM allocates internally memory space necessary for the
returned list of vertex identifiers.
Errors
O (zero) is returned if no error occurs.
See Also
TdFAGetAdjEdges
Name
TdFAGetAdjEdges - Get the adjacent edges of face
CSpecification
int TdFAGetAdjEdges (int face, int *qty, int **list)
Parameters
face |
specifies the face identifier |
qty |
returns the number of edges
|
list |
returns the list of edge identifiers
|
Description
The set of edges belonging to the face face is returned.
Notes
TDM allocates internally memory space necessary for the
returned list of edge identifiers.
Errors
O (zero) is returned if no error occurs.
See Also
TdFAGetAdjLoops
Name
TdFAGetAdjLoops - Get the contours (loops) of a face
CSpecification
int TdFAGetAdjLoops (int face, int *qty, int **list)
Parameters
face |
specifies the face identifier |
qty |
returns the number of contours
|
list |
returns the list of contour identifiers
|
Description
The set of contours belonging to the face face is returned.
Notes
A face may comprise of more than one contour. The first contour
in the returned list is always the external one.
TDM allocates internally memory space necessary for the
returned list of vertex identifiers.
Errors
O (zero) is returned if no error occurs.
See Also
TdFAGetNumbVertices
Name
TdFAGetNumbVertices - Get number of vertices adjacent to a face
CSpecification
int TdFAGetNumbVertices(int face, int *qty)
Parameters
face |
specifies the face identifier |
qty |
returns the number of vertices
|
Description
The set of vertices adjacent to the face face is returned.
Notes
Errors
O (zero) is returned if no error occurs.
See Also
TdFAGetAdjVertices
Name
TdFAGetAdjVertices - Get adjacent vertices to a face
CSpecification
int TdFAGetAdjVertices(int face, int *qty, int **list)
Parameters
face |
specifies the face identifier |
qty |
returns the number of vertices
|
list |
returns the list of vertex identifiers
|
Description
The set of vertices adjacent to the face face is returned.
Notes
TDM allocates internally memory space necessary for the
returned list of vertex identifiers.
Errors
O (zero) is returned if no error occurs.
See Also
TdLAGetBoundVertices
Name
TdLAGetBoundVertices - Get the sequence of vertices belonging to a contour
CSpecification
int TdLAGetBoundVertices (int loop, int *qty, int **list)
Parameters
loop |
specifies the loop identifier |
qty |
returns the number of vertices
|
list |
returns the list of vertex identifiers
|
Description
The list of vertices belonging to the contour contour is returned.
Notes
An oriented sequence of vertices that builds a contour
of a face is returned.
TDM allocates internally memory space necessary for the
returned list of vertex identifiers.
Errors
O (zero) is returned if no error occurs.
See Also
TdLAGetBoundEdges
Name
TdLAGetBoundEdges - Get the sequence of edges belonging to a contour
CSpecification
int TdLAGetBoundEdges (int loop, int *qty, int **list)
Parameters
loop |
specifies the loop identifier |
qty |
returns the number of edges
|
list |
returns the list of edge identifiers
|
Description
The list of edges belonging to the contour contour is returned.
Notes
An oriented sequence of edges that builds a contour
of a face is returned.
TDM allocates internally memory space necessary for the
returned list of edge identifiers.
Errors
O (zero) is returned if no error occurs.
See Also
TdVAGetAdjFaces
Name
TdVAGetAdjFaces - Get adjacent faces to a vertex
CSpecification
int TdVAGetAdjFaces(int vertex, int *qty, int **list)
Parameters
vertex |
specifies the vertex identifier |
qty |
returns the number of faces
|
list |
returns the list of face identifiers
|
Description
The set of faces adjacent to the vertex vertex is returned.
Notes
TDM allocates internally memory space necessary for the
returned list of face identifiers.
Errors
O (zero) is returned if no error occurs.
See Also
TdVAGetAdjEdges
Name
TdVAGetAdjEdges - Get adjacent edges to a vertex
CSpecification
int TdVAGetAdjEdges(int vertex, int *qty, int **list)
Parameters
vertex |
specifies the vertex identifier |
qty |
returns the number of edges
|
list |
returns the list of edge identifiers
|
Description
The set of edges adjacent to the vertex vertex is returned.
Notes
TDM allocates internally memory space necessary for the
returned list of edge identifiers.
Errors
O (zero) is returned if no error occurs.
See Also
Last Edited: Thu Sep 4 08:46:11 BRA 1997
Ting