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

A framework for displaying diameters in shapes.

#include <DsgPrs_DiameterPresentation.hxx>

Static Public Member Functions

static DEFINE_STANDARD_ALLOC void Add (const Handle< Prs3d_Presentation > &aPresentation, const Handle< Prs3d_Drawer > &aDrawer, const TCollection_ExtendedString &aText, const gp_Pnt &AttachmentPoint, const gp_Circ &aCircle, const DsgPrs_ArrowSide ArrowSide, const Standard_Boolean IsDiamSymbol)
 Draws the diameter of the circle aCircle displayed in
the presentation aPresentation and with attributes
defined by the attribute manager aDrawer. The point
AttachmentPoint defines the point of contact
between the circle and the diameter presentation.
The value of the enumeration ArrowSide controls
whether arrows will be displayed at either or both
ends of the length. The text aText labels the diameter.

static void Add (const Handle< Prs3d_Presentation > &aPresentation, const Handle< Prs3d_Drawer > &aDrawer, const TCollection_ExtendedString &aText, const gp_Pnt &AttachmentPoint, const gp_Circ &aCircle, const Standard_Real uFirst, const Standard_Real uLast, const DsgPrs_ArrowSide ArrowSide, const Standard_Boolean IsDiamSymbol)
 Draws the diameter of the arc anArc displayed in the
presentation aPresentation and with attributes
defined by the attribute manager aDrawer. The point
AttachmentPoint defines the point of contact
between the arc and the diameter presentation. The
value of the enumeration ArrowSide controls whether
arrows will be displayed at either or both ends of the
length. The parameters uFirst and uLast define the
first and last points of the arc. The text aText labels the diameter.


Member Function Documentation

static DEFINE_STANDARD_ALLOC void DsgPrs_DiameterPresentation::Add ( const Handle< Prs3d_Presentation > &  aPresentation,
const Handle< Prs3d_Drawer > &  aDrawer,
const TCollection_ExtendedString aText,
const gp_Pnt AttachmentPoint,
const gp_Circ aCircle,
const DsgPrs_ArrowSide  ArrowSide,
const Standard_Boolean  IsDiamSymbol 
) [static]
static void DsgPrs_DiameterPresentation::Add ( const Handle< Prs3d_Presentation > &  aPresentation,
const Handle< Prs3d_Drawer > &  aDrawer,
const TCollection_ExtendedString aText,
const gp_Pnt AttachmentPoint,
const gp_Circ aCircle,
const Standard_Real  uFirst,
const Standard_Real  uLast,
const DsgPrs_ArrowSide  ArrowSide,
const Standard_Boolean  IsDiamSymbol 
) [static]

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