# Visualization
TKV3d
DsgPrs

# DsgPrs Class Reference

Describes Standard Presentations for DsgIHM objects
.

`#include <DsgPrs.hxx>`

## Public Member Functions

void * | operator new (size_t, void *anAddress)
void * | operator new (size_t size)
void | operator delete (void *anAddress)

## Static Public Member Functions

static Standard_EXPORT void | ComputeSymbol (const Handle(Prs3d_Presentation)&aPresentation, const Handle(Prs3d_AngleAspect)&anAspect, const gp_Pnt &pt1, const gp_Pnt &pt2, const gp_Dir &dir1, const gp_Dir &dir2, const DsgPrs_ArrowSide ArrowSide)
| draws symbols ((one or two) arrows,(one or two)points at thebeginning and at the end of the dimension
static Standard_EXPORT void | ComputeSymbol (const Handle(Prs3d_Presentation)&aPresentation, const Handle(Prs3d_LengthAspect)&anAspect, const gp_Pnt &pt1, const gp_Pnt &pt2, const gp_Dir &dir1, const gp_Dir &dir2, const DsgPrs_ArrowSide ArrowSide, const Standard_Boolean drawFromCenter=Standard_True)
| draws symbols ((one or two) arrows,(one or two)points at thebeginning and at the end of the dimension
static Standard_EXPORT void | ComputePlanarFacesLengthPresentation (const Standard_Real FirstArrowLength, const Standard_Real SecondArrowLength, const gp_Pnt &AttachmentPoint1, const gp_Pnt &AttachmentPoint2, const gp_Dir &DirAttach, const gp_Pnt &OffsetPoint, const gp_Pln &PlaneOfFaces, gp_Pnt &EndOfArrow1, gp_Pnt &EndOfArrow2, gp_Dir &DirOfArrow1)

static Standard_EXPORT void

ComputeCurvilinearFacesLengthPresentation (const Standard_Real FirstArrowLength, const Standard_Real SecondArrowLength, const Handle(Geom_Surface)&SecondSurf, const gp_Pnt &AttachmentPoint1, const gp_Pnt &AttachmentPoint2, const gp_Dir &DirAttach, gp_Pnt &EndOfArrow2, gp_Dir &DirOfArrow1, Handle(Geom_Curve)&VCurve, Handle(Geom_Curve)&UCurve, Standard_Real &FirstU, Standard_Real &deltaU, Standard_Real &FirstV, Standard_Real &deltaV)

static Standard_EXPORT void

ComputeFacesAnglePresentation (const Standard_Real ArrowLength, const Standard_Real Value, const gp_Pnt &CenterPoint, const gp_Pnt &AttachmentPoint1, const gp_Pnt &AttachmentPoint2, const gp_Dir &dir1, const gp_Dir &dir2, const gp_Dir &axisdir, const Standard_Boolean isPlane, const gp_Ax1 &AxisOfSurf, const gp_Pnt &OffsetPoint, gp_Circ &AngleCirc, Standard_Real &FirstParAngleCirc, Standard_Real &LastParAngleCirc, gp_Pnt &EndOfArrow1, gp_Pnt &EndOfArrow2, gp_Dir &DirOfArrow1, gp_Dir &DirOfArrow2, gp_Pnt &ProjAttachPoint2, gp_Circ &AttachCirc, Standard_Real &FirstParAttachCirc, Standard_Real &LastParAttachCirc)

static Standard_EXPORT void | ComputeRadiusLine (const gp_Pnt &aCenter, const gp_Pnt &anEndOfArrow, const gp_Pnt &aPosition, const Standard_Boolean drawFromCenter, gp_Pnt &aRadLineOrign, gp_Pnt &aRadLineEnd)

static Standard_EXPORT void

ComputeFilletRadiusPresentation (const Standard_Real ArrowLength, const Standard_Real Value, const gp_Pnt &Position, const gp_Dir &NormalDir, const gp_Pnt &FirstPoint, const gp_Pnt &SecondPoint, const gp_Pnt &Center, const gp_Pnt &BasePnt, const Standard_Boolean drawRevers, Standard_Boolean &SpecCase, gp_Circ &FilletCirc, Standard_Real &FirstParCirc, Standard_Real &LastParCirc, gp_Pnt &EndOfArrow, gp_Dir &DirOfArrow, gp_Pnt &DrawPosition)

| computes Geometry for fillet radius presentation; special case flag SpecCase equal Standard_True if radius of fillet circle = 0 or if anngle between Vec1(Center, FirstPoint) and Vec2(Center,SecondPoint) equal 0 or PI
static Standard_EXPORT Standard_Real | DistanceFromApex (const gp_Elips &elips, const gp_Pnt &Apex, const Standard_Real par)
| computes length of ellipse arc in parametric units

## Member Function Documentation

static Standard_EXPORT void DsgPrs::ComputeCurvilinearFacesLengthPresentation | ( | const Standard_Real | FirstArrowLength,
|  | const Standard_Real | SecondArrowLength,
|  | const Handle(Geom_Surface)& | SecondSurf,
|  | const gp_Pnt & | AttachmentPoint1,
|  | const gp_Pnt & | AttachmentPoint2,
|  | const gp_Dir & | DirAttach,
|  | gp_Pnt & | EndOfArrow2,
|  | gp_Dir & | DirOfArrow1,
|  | Handle(Geom_Curve)& | VCurve,
|  | Handle(Geom_Curve)& | UCurve,
|  | Standard_Real & | FirstU,
|  | Standard_Real & | deltaU,
|  | Standard_Real & | FirstV,
|  | Standard_Real & | deltaV
| ) | `[static]`

static Standard_EXPORT void DsgPrs::ComputeFacesAnglePresentation | ( | const Standard_Real | ArrowLength,
|  | const Standard_Real | Value,
|  | const gp_Pnt & | CenterPoint,
|  | const gp_Pnt & | AttachmentPoint1,
|  | const gp_Pnt & | AttachmentPoint2,
|  | const gp_Dir & | dir1,
|  | const gp_Dir & | dir2,
|  | const gp_Dir & | axisdir,
|  | const Standard_Boolean | isPlane,
|  | const gp_Ax1 & | AxisOfSurf,
|  | const gp_Pnt & | OffsetPoint,
|  | gp_Circ & | AngleCirc,
|  | Standard_Real & | FirstParAngleCirc,
|  | Standard_Real & | LastParAngleCirc,
|  | gp_Pnt & | EndOfArrow1,
|  | gp_Pnt & | EndOfArrow2,
|  | gp_Dir & | DirOfArrow1,
|  | gp_Dir & | DirOfArrow2,
|  | gp_Pnt & | ProjAttachPoint2,
|  | gp_Circ & | AttachCirc,
|  | Standard_Real & | FirstParAttachCirc,
|  | Standard_Real & | LastParAttachCirc
| ) | `[static]`

static Standard_EXPORT void DsgPrs::ComputeFilletRadiusPresentation | ( | const Standard_Real | ArrowLength,
|  | const Standard_Real | Value,
|  | const gp_Pnt & | Position,
|  | const gp_Dir & | NormalDir,
|  | const gp_Pnt & | FirstPoint,
|  | const gp_Pnt & | SecondPoint,
|  | const gp_Pnt & | Center,
|  | const gp_Pnt & | BasePnt,
|  | const Standard_Boolean | drawRevers,
|  | Standard_Boolean & | SpecCase,
|  | gp_Circ & | FilletCirc,
|  | Standard_Real & | FirstParCirc,
|  | Standard_Real & | LastParCirc,
|  | gp_Pnt & | EndOfArrow,
|  | gp_Dir & | DirOfArrow,
|  | gp_Pnt & | DrawPosition
| ) | `[static]`

static Standard_EXPORT void DsgPrs::ComputePlanarFacesLengthPresentation | ( | const Standard_Real | FirstArrowLength,
|  | const Standard_Real | SecondArrowLength,
|  | const gp_Pnt & | AttachmentPoint1,
|  | const gp_Pnt & | AttachmentPoint2,
|  | const gp_Dir & | DirAttach,
|  | const gp_Pnt & | OffsetPoint,
|  | const gp_Pln & | PlaneOfFaces,
|  | gp_Pnt & | EndOfArrow1,
|  | gp_Pnt & | EndOfArrow2,
|  | gp_Dir & | DirOfArrow1
| ) | `[static]`

static Standard_EXPORT void DsgPrs::ComputeRadiusLine | ( | const gp_Pnt & | aCenter,
|  | const gp_Pnt & | anEndOfArrow,
|  | const gp_Pnt & | aPosition,
|  | const Standard_Boolean | drawFromCenter,
|  | gp_Pnt & | aRadLineOrign,
|  | gp_Pnt & | aRadLineEnd
| ) | `[static]`

static Standard_EXPORT void DsgPrs::ComputeSymbol | ( | const Handle(Prs3d_Presentation)& | aPresentation,
|  | const Handle(Prs3d_LengthAspect)& | anAspect,
|  | const gp_Pnt & | pt1,
|  | const gp_Pnt & | pt2,
|  | const gp_Dir & | dir1,
|  | const gp_Dir & | dir2,
|  | const DsgPrs_ArrowSide | ArrowSide,
|  | const Standard_Boolean | drawFromCenter = `Standard_True`
| ) | `[static]`

static Standard_EXPORT void DsgPrs::ComputeSymbol | ( | const Handle(Prs3d_Presentation)& | aPresentation,
|  | const Handle(Prs3d_AngleAspect)& | anAspect,
|  | const gp_Pnt & | pt1,
|  | const gp_Pnt & | pt2,
|  | const gp_Dir & | dir1,
|  | const gp_Dir & | dir2,
|  | const DsgPrs_ArrowSide | ArrowSide
| ) | `[static]`

static Standard_EXPORT Standard_Real DsgPrs::DistanceFromApex | ( | const gp_Elips & | elips,
|  | const gp_Pnt & | Apex,
|  | const Standard_Real | par
| ) | `[static]`

void DsgPrs::operator delete | ( | void * | anAddress | ) | `[inline]`

void* DsgPrs::operator new | ( | size_t | size | ) | `[inline]`

void* DsgPrs::operator new | ( | size_t | ,
|  | void * | anAddress
| ) | `[inline]`

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

- DsgPrs.hxx