Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions
Aspect_AspectLine Class Reference

This class allows the definition of a group
of attributes for the LINE primitive
The attributes are:
More...

#include <Aspect_AspectLine.hxx>

Inheritance diagram for Aspect_AspectLine:
Inheritance graph
[legend]

Public Member Functions

void SetColor (const Quantity_Color &AColor)
 Modifies the colour of <me>.

void SetType (const Aspect_TypeOfLine AType)
 Modifies the type of <me>.

void SetWidth (const Standard_Real AWidth)
 Modifies the thickness of <me>.
Category: Methods to modify the class definition
Warning: Raises AspectLineDefinitionError if the
width is a negative value.

void Values (Quantity_Color &AColor, Aspect_TypeOfLine &AType, Standard_Real &AWidth) const
 Returns the current values of the group <me>.

Protected Member Functions

 Aspect_AspectLine ()
 Initialise the constructor for Graphic3d_AspectLine3d.

Default values :
Color = Quantity_NOC_YELLOW;
Type = Aspect_TOL_SOLID;
Width = 1.0;


 Aspect_AspectLine (const Quantity_Color &AColor, const Aspect_TypeOfLine AType, const Standard_Real AWidth)
 Initialise the values for the
constructor of Graphic3d_AspectLine3d.



Detailed Description

* Colour <br>
* Type <br>
* Thickness <br>

When any value of the group is modified
all graphic objects using the group are modified.


Constructor & Destructor Documentation


Member Function Documentation

void Aspect_AspectLine::Values ( Quantity_Color AColor,
Aspect_TypeOfLine AType,
Standard_Real AWidth 
) const

The documentation for this class was generated from the following file: