Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Static Public Member Functions
Prs3d_LengthPresentation Class Reference

A framework to define the display of lengths.

#include <Prs3d_LengthPresentation.hxx>

Inheritance diagram for Prs3d_LengthPresentation:
Inheritance graph
[legend]

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.


Member Function Documentation

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]

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