AlRevSurfAttributes

Interface to Alias arc curve attributes.

Synopsis

#include <AlRevSurfAttributes.h>
class AlRevSurfAttributes : public AlAttributes
virtual AlObjectType type() const;
virtual AlRevSurfAttributes* asRevSurfAttributesPtr();
AlObject* copyWrapper() const;
double startAngle() const;
double endAngle() const;

Description

AlRevSurfAttributes is a class derived from the AlAttributes class. This class allows access to some of the attributes of a revolved surface; in this case, the start and end angles of revolution.

When querying the attributes of a revolved surface (retrieved from IGES or created in Alias with exact ON) the first attribute will be an AlRevSurfAttributes, the second will be an AlLineAttributes representing the axis of revolution, and the remainder of the attributes describe the line that was revolved to generate the surface.

Summary

AlObjectType AlRevSurfAttributes::type() const

Description

Returns the class identifier 'kRevSurfAttributeType'.

AlRevSurfAttributes* AlRevSurfAttributes::asRevSurfAttributesPtr()

Description

This virtual function returns a non-null pointer to itself, indicating that it is safe to cast to an object of this class.

AlObject* AlRevSurfAttributes::copyWrapper() const

Description

This method makes a copy of the AlRevSurfAttributes. The returned AlRevSurfAttributes will reference the same data as the original.

double AlRevSurfAttributes::startAngle() const

Description

Returns the start angle in degrees for the revolved surface.

double AlRevSurfAttributes::endAngle() const

Description

Returns the end angle in degrees for the revolved surface.





aliasdocs@aw.sgi.com
Copyright © 1996, Alias|Wavefront, a Silicon Graphics Company. All rights reserved.