Open CASCADE Technology
6.5.4
|
A framework to define the display of lengths.
#include <Prs3d_LengthPresentation.hxx>
Static Public Member Functions | |
static DEFINE_STANDARD_ALLOC void | Draw (const Handle< Prs3d_Presentation > &aPresentation, const Handle< Prs3d_Drawer > &aDrawer, const TCollection_ExtendedString &aText, const gp_Pnt &AttachmentPoint1, const gp_Pnt &AttachmentPoint2, const gp_Pnt &OffsetPoint) |
Defines the display of the length between the points AttachmentPoint1 and AttachmentPoint2. The text aText is displayed at the point OffsetPoint, and the drawer aDrawer specifies the display attributes which lengths will have. The presentation object aPresentation stores the information defined in this framework. |
static DEFINE_STANDARD_ALLOC void Prs3d_LengthPresentation::Draw | ( | const Handle< Prs3d_Presentation > & | aPresentation, |
const Handle< Prs3d_Drawer > & | aDrawer, | ||
const TCollection_ExtendedString & | aText, | ||
const gp_Pnt & | AttachmentPoint1, | ||
const gp_Pnt & | AttachmentPoint2, | ||
const gp_Pnt & | OffsetPoint | ||
) | [static] |