Open CASCADE Technology 6.6.0
Public Member Functions
Prs3d_ArrowAspect Class Reference

A framework for displaying arrows in representations
of dimensions and relations.

#include <Prs3d_ArrowAspect.hxx>

Inheritance diagram for Prs3d_ArrowAspect:
Inheritance graph
[legend]

Public Member Functions

 Prs3d_ArrowAspect ()
 Constructs an empty framework for displaying arrows
in representations of lengths. The lengths displayed
are either on their own or in chamfers, fillets,
diameters and radii.

 Prs3d_ArrowAspect (const Quantity_PlaneAngle anAngle, const Quantity_Length aLength)
 Constructs a framework to display an arrow with a
shaft of the length aLength and having a head with
sides at the angle anAngle from each other.

void SetAngle (const Quantity_PlaneAngle anAngle)
 defines the angle of the arrows.

Quantity_PlaneAngle Angle () const
 returns the current value of the angle used when drawing an arrow.

void SetLength (const Quantity_Length aLength)
 defines the length of the arrows.

Quantity_Length Length () const
 returns the current value of the length used when drawing an arrow.

void SetColor (const Quantity_Color &aColor)
void SetColor (const Quantity_NameOfColor aColor)
Handle_Graphic3d_AspectLine3d Aspect () const

Constructor & Destructor Documentation

Prs3d_ArrowAspect::Prs3d_ArrowAspect ( )
Prs3d_ArrowAspect::Prs3d_ArrowAspect ( const Quantity_PlaneAngle  anAngle,
const Quantity_Length  aLength 
)

Member Function Documentation

Quantity_PlaneAngle Prs3d_ArrowAspect::Angle ( ) const
Handle_Graphic3d_AspectLine3d Prs3d_ArrowAspect::Aspect ( ) const
Quantity_Length Prs3d_ArrowAspect::Length ( ) const
void Prs3d_ArrowAspect::SetAngle ( const Quantity_PlaneAngle  anAngle)
void Prs3d_ArrowAspect::SetColor ( const Quantity_Color aColor)
void Prs3d_ArrowAspect::SetColor ( const Quantity_NameOfColor  aColor)
void Prs3d_ArrowAspect::SetLength ( const Quantity_Length  aLength)

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines