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

This class defines a WidthMap object.

#include <Aspect_WidthMap.hxx>

Inheritance diagram for Aspect_WidthMap:
Inheritance graph
[legend]

Public Member Functions

 Aspect_WidthMap ()
 Creates a width map.

void AddEntry (const Aspect_WidthMapEntry &AnEntry)
 Adds an entry in the Width map <me>.
Warning: Raises BadAccess if WidthMap size is exceeded.

Standard_Integer AddEntry (const Aspect_WidthOfLine aStyle)
 Search an identical line width entry in the width map <me>
and returns the WidthMapEntry Index if exist.
Or add a new entry and returns the computed WidthMapEntry index used.

Standard_Integer AddEntry (const Quantity_Length aStyle)
 Search an identical line width entry in the width map <me>
and returns the WidthMapEntry Index if exist.
Or add a new entry and returns the computed WidthMapEntry index used.

Standard_Integer Size () const
 Returns the Allocated widthmap Size

Standard_Integer Index (const Standard_Integer aWidthmapIndex) const
 Returns the WidthMapEntry.Index of the WidthMap
at rank <aWidthmapIndex> .

Aspect_WidthMapEntry Entry (const Standard_Integer AnIndex) const
 Returns the Width map entry with the index <AnIndex>.
Warning: Raises BadAccess if the index less than 1 or
greater than Size.

void Dump () const

Protected Attributes

Aspect_SequenceOfWidthMapEntry mydata

Constructor & Destructor Documentation


Member Function Documentation


Field Documentation


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