Base class for Alias construction entities.
#include <AlConstructionEntity.h> class AlConstructionEntity : public AlObject, public AlPickable virtual ~AlConstructionEntity(); virtual statusCode deleteObject(); virtual AlObject * copyWrapper() const = 0; virtual AlObjectType type() const; virtual const char* name() const; virtual statusCode setName( const char * ); AlLayer * layer(); statusCode setLayer( AlLayer * ); boolean invisible(); statusCode setInvisible( boolean ); statusCode templated(boolean &) const;
This base class encapsulates methods common to Alias construction entities. These entities include space points, curve points, surface points, curve on surface points, construction planes and construction vectors. Construction points have similarities to locator objects. A major difference between construction points and locators is that construction points will be on the Alias pick list. The AlPickList class can be used to retrieve picked construction entity objects. As you will see below, the AlConstructionEntity class multiply inherits from the AlPickable class.
This class contains methods for deleting, and naming locators. In addition, methods are available for working with layers and for changing invisibility and templated modes.
As in the locator objects, if a construction entity is dependent on an object that is deleted, it will also be removed.
Constructs an AlConstructionEntity wrapper object.
Deletes an AlConstructionEntity wrapper object.
Returns the class identifier kConstructionEntityType.
Returns the name of the construction entity. NULL is returned if this method fails.
Sets the name of the construction entity
< name - name that construction entity should be called
sSuccess - the name was set
sFailure - the method failed
sInvalidObject - the construction entity is invalid
sNameChangedToUniqueOne - the name was not unique so it was changed
Returns the layer that this construction entity is in. NULL is returned if this method failed.
Sets the layer of the construction entity.
< layer - the layer to put this construction entity into
sSuccess - the layer was set
sFailure - failed to set the layer
sInvalidObject - the construction entity is invalid
sInvalidArgument - layer is NULL or is invalid
Returns TRUE if the layer is invisible. FALSE will be returned if the method failed.
Sets the invisibility of the construction entity
< invisible - either TRUE or FALSE
sSuccess - the visibility was set
sFailure - failed to set the visibility
sInvalidObject - the construction entity is invalid
Finds whether the object on which a construction entity depends is templated. If a construction entity does not depend on any other object, the argument is set to false.
> tmpl - is set to true if the object on which a locator depends is templated. Otherwise, tmpl is set to false.
sSuccess - The value was set successfully
sInvalidObject - the object is not valid