Open CASCADE Technology
6.5.4
|
A framework to define the display of angles.
#include <Prs3d_AnglePresentation.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 &AttachmentPoint3, const gp_Pnt &OffsetPoint) |
Defines the representation of the angle between the line defined by the points AttachmentPoint1 and AttachmentPoint2 and the line defined by the points AttachmentPoint1 and AttachmentPoint3. The text aText is displayed at the point OffsetPoint, and the drawer aDrawer specifies the display attributes which angles will have. The presentation object aPresentation stores the information defined in this framework. |
static DEFINE_STANDARD_ALLOC void Prs3d_AnglePresentation::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 & | AttachmentPoint3, | ||
const gp_Pnt & | OffsetPoint | ||
) | [static] |