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. This method must be overridden by the sub-classes.
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 Geom object
The Model object
Get the geometry type for this entity. This method must be overridden by the sub-classes.
The geometry type.
Get the groups for all the groups for which this entity is a member. This method must be overridden by the sub-classes.
The array of group names.
Get the ID number of this entity.
The entity ID number.
Get the label for this entity. This method must be overridden by the sub-classes.
The geometry type.
Get the label centroid for this entity. This method must be overridden by the sub-classes.
The geometry type.
Get the Model object that this entity belongs to.
A Model object.
Set an attribute value for this entity.
The attribute.
The new attribute value.
The old attribute value.
Create s string representation of this object. This method must be overridden by the sub-classes.
Strig
Transform points. This method must be overridden by the sub-classes.
The xform matrix.
Generated using TypeDoc
Class Ent. An abstrcat class that is the superclass for all geometric entities, both Point and Obj. An entity may be part of a group and may have attributes.