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

This class defines a Marker Style.
The Style can be Predefined or defined by the user
A user defined style must be described in the space <-1,+1>

#include <Aspect_MarkerStyle.hxx>

Public Member Functions

DEFINE_STANDARD_ALLOC Aspect_MarkerStyle ()
 Creates a marker style with the default value of
MarkerStyle type : POINT


 Aspect_MarkerStyle (const Aspect_TypeOfMarker aType)
 Creates the marker style <aType>.

 Aspect_MarkerStyle (const TColStd_Array1OfReal &aXpoint, const TColStd_Array1OfReal &aYpoint)
 Creates a marker style from a implicit draw point

 Aspect_MarkerStyle (const TColStd_Array1OfReal &aXpoint, const TColStd_Array1OfReal &aYpoint, const TColStd_Array1OfBoolean &aSpoint)
 Creates a marker style from a move-draw point descriptor .
Each coordinate <aXpoint(i),aYpoint(i)> must be defined

Aspect_MarkerStyleAssign (const Aspect_MarkerStyle &Other)
 Updates the marker style <me> from the definition of the
marker style <Other>.

Aspect_MarkerStyleoperator= (const Aspect_MarkerStyle &Other)
Aspect_TypeOfMarker Type () const
 Returns the type of the marker style <me>

Standard_Integer Length () const
 Returns the components length of the marker descriptors

Standard_Boolean Values (const Standard_Integer aRank, Standard_Real &aX, Standard_Real &aY) const
 Returns the point and status of a marker style

const TShort_Array1OfShortRealXValues () const
 Returns the X vector of a marker style descriptor

const TShort_Array1OfShortRealYValues () const
 Returns the Y vector of a marker style descriptor

const TColStd_Array1OfBooleanSValues () const
 Returns the State vector of a marker style descriptor

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

Constructor & Destructor Documentation


Member Function Documentation

Standard_Boolean Aspect_MarkerStyle::operator!= ( const Aspect_MarkerStyle Other) const [inline]
Aspect_MarkerStyle& Aspect_MarkerStyle::operator= ( const Aspect_MarkerStyle Other) [inline]
Standard_Boolean Aspect_MarkerStyle::operator== ( const Aspect_MarkerStyle Other) const [inline]

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