Interface to Alias line attributes.
#include <AlLineAttributes.h> class AlLineAttributes : public AlAttributes virtual AlObjectType type() const; AlObject* copyWrapper() const; statusCode startPoint(double&, double&, double&) const; statusCode endPoint(double&, double&, double&) const; statusCode setStartPoint(double, double, double); statusCode setEndPoint(double, double, double);
AlLineAttributes is a class derived from the AlAttributes class. This class allows access to the attributes for a line.
The attributes which define a line are just its start point and its end point. Coordinates are given in object space, and not world space.
Returns the class identifier ’kLineAttributeType’.
Makes a copy of the AlLineAttributes. The returned AlLineAttributes will reference the same data as the original.
Gets the start point for the line.
> x, y, z - the returned 3D coordinates of the start point
sSuccess - the start point was successfully returned
sInvalidObject - the attribute was not valid
sFailure - an error occurred.
Gets the end point for the line.
> x, y, z - the returned 3D coordinates of the end point
sSuccess - the end point was successfully returned
sInvalidObject - the attribute was not valid
sFailure - an error occurred.
Sets the start point for the line.
< x, y, z - the 3D coordinates of the start point
sSuccess - setting the start point succeeded
sFailure - setting the start point failed
sInvalidObject - the attribute was invalid
Sets the end point for the line.
< x, y, z - the 3D coordinates of the end point
sSuccess - setting the end point succeeded
sFailure - setting the end point failed
sInvalidObject - the attribute was invalid