Creates an instance of one of the subclasses of Topo. The entity must already exists in the geometry. You should not create new topo components using this constructor. Topology will be created for you when you create geometric objects, such as polylines and polymeshes.
The path of the entity. This path must already exist in the geometry.
The Topo object.
Add this topo to a group.
The group.
True if the topo was added, False is the topo was already in the group.
Check if this entity exists in the model. (i.e has it been deleted?)
The entity ID number.
Within the parent object, find all faces that share at least n points.
An array of faces.
Get an attribute value for this topo component.
The topo attribute.
The attribute value.
Get the attributes for this topo component.
The array of attribute names.
Get the edges for this wire.
An array of edges.
Get the Geom object
The Model object
Get the geometry type: "faces". This method overrides the method in the Topo class.
The topo type.
Get the groups for which this topo component is a member.
The array of groups.
Get the label of this topo.
The xyz of the centroid.
Get the centroid of this topo. This is used for attaching labels.
The xyz of the centroid.
Get the model to which this group belongs.
The model
Get the ID of the object to which this topo component belongs.
The object ID number.
Get the ID of the object to which this topo component belongs.
The object ID number.
Get the geometry path for this topo component.
The geometry path.
Get a compact string representation of the geometry path for this topological component, dtsrting with the obj ID.
The geometry path str.
Get the vertices for this wire.
An array of vertices.
Return true, since a face is always closed.
boolean
Get the number of edged in this face. This is the same as numVertices().
The number of edges.
Get the number of vertices in this face. This is the same as numEdges().
The number of vertices.
Set an attribute value for this topo component.
The topo attribute.
The new attribute value.
The old attribute value.
Generated using TypeDoc
Face class