Creates an instance of one of the subclasses of Ent. The entity must already exists in the geometry. Do not use this constructor if you want to add a new entity to the geometry. For that, you should use one of the 'add' methods in the geometry class.
The ID of the entity. This ID must already exist in the geometry.
The Ent object.
Add this object to a group.
The group.
True if the entity was added, False is the object was already in the group.
Make a copy of this entity. This method must be overridden by the sub-classes.
The geometry type.
Check if this entity exists in the model. (i.e has it been deleted?)
The entity ID number.
Get an attribute value for this entity.
The attribute.
The attribute value.
Get the attribute names for this entity.
The array of attribute names.
Get the faces for this object.
The array of faces.
Get the Geom object
The Model object
Get the geometry type. This method overrides the method in the Ent class.
The geometry type.
Get the group names for all the groups for which this entity is a member.
The array of group names.
Get the ID number of this entity.
The entity ID number.
Get the label for this object.
The xyz of the centroid.
Get the label centroid for this object.
The xyz of the label.
Get the Model object that this entity belongs to.
A Model object.
Get the object type. This method will be overridden by subclasses.
The object type.
Get the points for this object. If the point_type is not specified, then points for both wires and faces are returned.
A flat array of points.
Get the set of unique points for this object.
The array of point IDs.
Get the wires for this object.
The array of wires.
Returns the number of edges in this polymesh faces.
Return the number of edges.
Returns the number of vertices in this polymesh faces.
Return the number of vertices.
Get the number of faces for this object.
The number of faces.
Returns the number of edges in this polymesh wires.
Return the number of edges.
Returns the number of vertices in this polymesh wires.
Return the number of vertices.
Get the number of wires for this object.
The number of wires.
Set an attribute value for this entity.
The attribute.
The new attribute value.
The old attribute value.
Create s string representation of this object.
Strig
Transform the points for this object.
The xform matrix.
Generated using TypeDoc
Abstract class Obj. The superclass for all geometric objects, including Polyline and Polymesh.