Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Static Public Member Functions
DsgPrs_DiameterPresentation Class Reference

A framework for displaying diameters in shapes. More...

#include <DsgPrs_DiameterPresentation.hxx>

Static Public Member Functions

static void Add (const occ::handle< Prs3d_Presentation > &aPresentation, const occ::handle< Prs3d_Drawer > &aDrawer, const TCollection_ExtendedString &aText, const gp_Pnt &AttachmentPoint, const gp_Circ &aCircle, const DsgPrs_ArrowSide ArrowSide, const bool 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 occ::handle< Prs3d_Presentation > &aPresentation, const occ::handle< Prs3d_Drawer > &aDrawer, const TCollection_ExtendedString &aText, const gp_Pnt &AttachmentPoint, const gp_Circ &aCircle, const double uFirst, const double uLast, const DsgPrs_ArrowSide ArrowSide, const bool 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.
 

Detailed Description

A framework for displaying diameters in shapes.

Member Function Documentation

◆ Add() [1/2]

static void DsgPrs_DiameterPresentation::Add ( const occ::handle< Prs3d_Presentation > & aPresentation,
const occ::handle< Prs3d_Drawer > & aDrawer,
const TCollection_ExtendedString & aText,
const gp_Pnt & AttachmentPoint,
const gp_Circ & aCircle,
const double uFirst,
const double uLast,
const DsgPrs_ArrowSide ArrowSide,
const bool IsDiamSymbol )
static

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.

◆ Add() [2/2]

static void DsgPrs_DiameterPresentation::Add ( const occ::handle< Prs3d_Presentation > & aPresentation,
const occ::handle< Prs3d_Drawer > & aDrawer,
const TCollection_ExtendedString & aText,
const gp_Pnt & AttachmentPoint,
const gp_Circ & aCircle,
const DsgPrs_ArrowSide ArrowSide,
const bool IsDiamSymbol )
static

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.


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