Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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
More...

#include <Aspect_LineStyle.hxx>

Public Member Functions

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


More...

 
 Aspect_LineStyle (const Aspect_TypeOfLine Type)
 Creates the line style <Type>.
More...
 
 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 ..
More...
 
Aspect_LineStyleAssign (const Aspect_LineStyle &Other)
 Updates the line style <me> from the definition of the
line style <Other>.
More...
 
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>.
More...
 
void SetValues (const TColQuantity_Array1OfLength &Style)
 Updates a line style with the new Float descriptor
More...
 
Aspect_TypeOfLine Style () const
 Returns the type of the line style <me>
More...
 
Standard_Integer Length () const
 Returns the components length of the line style
More...
 
const TColQuantity_Array1OfLengthValues () const
 Returns the components of a line style
More...
 
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
 

Detailed Description

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

Constructor & Destructor Documentation

Aspect_LineStyle::Aspect_LineStyle ( )

 Creates a line style with the default value of <br>
   LineStyle type : SOLID <br>


Aspect_LineStyle::Aspect_LineStyle ( const Aspect_TypeOfLine  Type)

Creates the line style <Type>.

Aspect_LineStyle::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 ..

Member Function Documentation

Aspect_LineStyle& Aspect_LineStyle::Assign ( const Aspect_LineStyle Other)

Updates the line style <me> from the definition of the
line style <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

Returns the components length of the line style

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 Aspect_TypeOfLine  Type)

Updates the line style <me> from the definition of the
line style <Type>.

void Aspect_LineStyle::SetValues ( const TColQuantity_Array1OfLength Style)

Updates a line style with the new Float descriptor

Aspect_TypeOfLine Aspect_LineStyle::Style ( ) const

Returns the type of the line style <me>

const TColQuantity_Array1OfLength& Aspect_LineStyle::Values ( ) const

Returns the components of a line style


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