Open CASCADE Technology 6.6.0
Public Member Functions
Aspect_LineStyle Class Reference

This class allows the definition of a Line Style.
The Style can be Predefined or defined by the user

#include <Aspect_LineStyle.hxx>

Public Member Functions

 Aspect_LineStyle ()
 Creates a line style with the default value of
LineStyle type : SOLID


 Aspect_LineStyle (const Aspect_TypeOfLine Type)
 Creates the line style <Type>.

 Aspect_LineStyle (const TColQuantity_Array1OfLength &Style)
 Creates a line style from METER Float style descriptor .
Style Descriptor is :
Each Odd float described the Drawn part of the style .
Each Even float described the Hidden part of the style .
(e.g) [0.010,0.002,0.005,0.004]
Draw 10 MM ,Move 2 MM,Draw 5 MM ..

Aspect_LineStyleAssign (const Aspect_LineStyle &Other)
 Updates the line style <me> from the definition of the
line style <Other>.

Aspect_LineStyleoperator= (const Aspect_LineStyle &Other)
void SetValues (const Aspect_TypeOfLine Type)
 Updates the line style <me> from the definition of the
line style <Type>.

void SetValues (const TColQuantity_Array1OfLength &Style)
 Updates a line style with the new Float descriptor

Aspect_TypeOfLine Style () const
 Returns the type of the line style <me>

Standard_Integer Length () const
 Returns the components length of the line style

const TColQuantity_Array1OfLengthValues () const
 Returns the components of a line style

Standard_Boolean IsEqual (const Aspect_LineStyle &Other) const
Standard_Boolean operator== (const Aspect_LineStyle &Other) const
Standard_Boolean IsNotEqual (const Aspect_LineStyle &Other) const
Standard_Boolean operator!= (const Aspect_LineStyle &Other) const

Constructor & Destructor Documentation

Aspect_LineStyle::Aspect_LineStyle ( )
Aspect_LineStyle::Aspect_LineStyle ( const Aspect_TypeOfLine  Type)
Aspect_LineStyle::Aspect_LineStyle ( const TColQuantity_Array1OfLength Style)

Member Function Documentation

Aspect_LineStyle& Aspect_LineStyle::Assign ( const Aspect_LineStyle Other)
Standard_Boolean Aspect_LineStyle::IsEqual ( const Aspect_LineStyle Other) const
Standard_Boolean Aspect_LineStyle::IsNotEqual ( const Aspect_LineStyle Other) const
Standard_Integer Aspect_LineStyle::Length ( ) const
Standard_Boolean Aspect_LineStyle::operator!= ( const Aspect_LineStyle Other) const [inline]
Aspect_LineStyle& Aspect_LineStyle::operator= ( const Aspect_LineStyle Other) [inline]
Standard_Boolean Aspect_LineStyle::operator== ( const Aspect_LineStyle Other) const [inline]
void Aspect_LineStyle::SetValues ( const TColQuantity_Array1OfLength Style)
void Aspect_LineStyle::SetValues ( const Aspect_TypeOfLine  Type)
Aspect_TypeOfLine Aspect_LineStyle::Style ( ) const
const TColQuantity_Array1OfLength& Aspect_LineStyle::Values ( ) const

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