Open CASCADE Technology
6.5.4
|
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 | |
DEFINE_STANDARD_ALLOC | 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_LineStyle & | Assign (const Aspect_LineStyle &Other) |
Updates the line style <me> from the definition of the line style <Other>. | |
Aspect_LineStyle & | operator= (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_Array1OfLength & | Values () 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 |
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] |
Aspect_TypeOfLine Aspect_LineStyle::Style | ( | ) | const |