|
Open CASCADE Technology 6.5.2
|
This class defines a widthmap entry.
A widthmap entry is an association between
a LineStyle object and an index in the widthmap.
#include <Aspect_WidthMapEntry.hxx>
Public Member Functions | |
| void * | operator new (size_t, void *anAddress) |
| void * | operator new (size_t size) |
| void | operator delete (void *anAddress) |
| Aspect_WidthMapEntry () | |
| Creates an unallocated widthmap entry | |
| Aspect_WidthMapEntry (const Standard_Integer index, const Aspect_WidthOfLine style) | |
| Creates an allocated widthmap entry from width style | |
| Aspect_WidthMapEntry (const Standard_Integer index, const Quantity_Length width) | |
| Creates an allocated widthmap entry from width value | |
| Aspect_WidthMapEntry (const Aspect_WidthMapEntry &entry) | |
| Creates an allocated widthmap entry. | |
| void | SetValue (const Standard_Integer index, const Aspect_WidthOfLine style) |
| Sets widthmap entry value from width style and allocates it. | |
| void | SetValue (const Standard_Integer index, const Quantity_Length width) |
| Sets widthmap entry value from width value and allocates it. | |
| void | SetValue (const Aspect_WidthMapEntry &entry) |
| Sets widthmap entry value and allocates it. | |
| void | operator= (const Aspect_WidthMapEntry &entry) |
| void | SetIndex (const Standard_Integer index) |
| Sets index value of a widthmap entry. | |
| void | SetType (const Aspect_WidthOfLine Style) |
| Sets width style of widthmap entry. | |
| void | SetWidth (const Quantity_Length Width) |
| Sets width value of widthmap entry. | |
| Aspect_WidthOfLine | Type () const |
| Quantity_Length | Width () const |
| Returns width value of widthmap entry. Warning: Raises error if the widthmap entry is unallocated . | |
| Standard_Integer | Index () const |
| Returns index value of a widthmap entry. Warning: Raises error if the widthmap entry is unallocated . | |
| void | Free () |
| Unallocates the widthmap entry. | |
| Standard_Boolean | IsAllocated () const |
| Returns True if the widthmap entry is allocated. Warning: A widthmap entry is allocated when the width and the index is defined. | |
| void | Dump () const |
| Aspect_WidthMapEntry::Aspect_WidthMapEntry | ( | ) |
| Aspect_WidthMapEntry::Aspect_WidthMapEntry | ( | const Standard_Integer | index, |
| const Aspect_WidthOfLine | style | ||
| ) |
| Aspect_WidthMapEntry::Aspect_WidthMapEntry | ( | const Standard_Integer | index, |
| const Quantity_Length | width | ||
| ) |
| Aspect_WidthMapEntry::Aspect_WidthMapEntry | ( | const Aspect_WidthMapEntry & | entry | ) |
| void Aspect_WidthMapEntry::Dump | ( | ) | const |
| void Aspect_WidthMapEntry::Free | ( | ) |
| Standard_Integer Aspect_WidthMapEntry::Index | ( | ) | const |
| Standard_Boolean Aspect_WidthMapEntry::IsAllocated | ( | ) | const |
| void Aspect_WidthMapEntry::operator delete | ( | void * | anAddress | ) | [inline] |
| void* Aspect_WidthMapEntry::operator new | ( | size_t | size | ) | [inline] |
| void* Aspect_WidthMapEntry::operator new | ( | size_t | , |
| void * | anAddress | ||
| ) | [inline] |
| void Aspect_WidthMapEntry::operator= | ( | const Aspect_WidthMapEntry & | entry | ) | [inline] |
| void Aspect_WidthMapEntry::SetIndex | ( | const Standard_Integer | index | ) |
| void Aspect_WidthMapEntry::SetType | ( | const Aspect_WidthOfLine | Style | ) |
| void Aspect_WidthMapEntry::SetValue | ( | const Standard_Integer | index, |
| const Aspect_WidthOfLine | style | ||
| ) |
| void Aspect_WidthMapEntry::SetValue | ( | const Standard_Integer | index, |
| const Quantity_Length | width | ||
| ) |
| void Aspect_WidthMapEntry::SetValue | ( | const Aspect_WidthMapEntry & | entry | ) |
| void Aspect_WidthMapEntry::SetWidth | ( | const Quantity_Length | Width | ) |
| Aspect_WidthOfLine Aspect_WidthMapEntry::Type | ( | ) | const |
| Quantity_Length Aspect_WidthMapEntry::Width | ( | ) | const |
1.7.4