|
Open CASCADE Technology 6.5.2
|
This class defines a WidthMap object.
#include <Aspect_WidthMap.hxx>

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 |
| Aspect_WidthMap::Aspect_WidthMap | ( | ) |
| void Aspect_WidthMap::AddEntry | ( | const Aspect_WidthMapEntry & | AnEntry | ) |
| Standard_Integer Aspect_WidthMap::AddEntry | ( | const Aspect_WidthOfLine | aStyle | ) |
| Standard_Integer Aspect_WidthMap::AddEntry | ( | const Quantity_Length | aStyle | ) |
| void Aspect_WidthMap::Dump | ( | ) | const |
| Aspect_WidthMapEntry Aspect_WidthMap::Entry | ( | const Standard_Integer | AnIndex | ) | const |
| Standard_Integer Aspect_WidthMap::Index | ( | const Standard_Integer | aWidthmapIndex | ) | const |
| Standard_Integer Aspect_WidthMap::Size | ( | ) | const |
1.7.4