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.
Within the parent object, find all edges with the same two points as this edge. The order of the points is ignored. Returns an array containing two sub-arrays. 1) The wire edges, and 2) the face edges.
An array containing the two sub-arrays of edges.
Check if this entity exists in the model. (i.e has it been deleted?)
The entity ID number.
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 Geom object
The Model object
Get the geometry type: "edges". 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 two vertices for this edge.
An array of two edges.
Find the next edge in the sequence of edges in the wire or face.
The next edge object.
Find the previous edge in the sequence of edges in the wire or face.
The previous edge object.
Set an attribute value for this topo component.
The topo attribute.
The new attribute value.
The old attribute value.
Generated using TypeDoc
Edge class.