SHAPER  9.12.0
SketcherPrs_Factory Class Reference

Class which creates constraints presentations. More...

Static Public Member Functions

static AISObjectPtr collinearConstraint (ModelAPI_Feature *theConstraint, SketchPlugin_Sketch *theSketcher, AISObjectPtr thePrevious)
 Creates collinear constraint presentation. More...
 
static AISObjectPtr parallelConstraint (ModelAPI_Feature *theConstraint, SketchPlugin_Sketch *theSketcher, AISObjectPtr thePrevious)
 Creates parallel constraint presentation. More...
 
static AISObjectPtr perpendicularConstraint (ModelAPI_Feature *theConstraint, SketchPlugin_Sketch *theSketcher, AISObjectPtr thePrevious)
 Creates coincedent perpendicular presentation. More...
 
static AISObjectPtr rigidConstraint (ModelAPI_Feature *theConstraint, SketchPlugin_Sketch *theSketcher, AISObjectPtr thePrevious)
 Creates rigid constraint presentation. More...
 
static AISObjectPtr horisontalConstraint (ModelAPI_Feature *theConstraint, SketchPlugin_Sketch *theSketcher, AISObjectPtr thePrevious)
 Creates horizontal constraint presentation. More...
 
static AISObjectPtr verticalConstraint (ModelAPI_Feature *theConstraint, SketchPlugin_Sketch *theSketcher, AISObjectPtr thePrevious)
 Creates vertical constraint presentation. More...
 
static AISObjectPtr equalConstraint (ModelAPI_Feature *theConstraint, SketchPlugin_Sketch *theSketcher, AISObjectPtr thePrevious)
 Creates equal constraint presentation. More...
 
static AISObjectPtr tangentConstraint (ModelAPI_Feature *theConstraint, SketchPlugin_Sketch *theSketcher, AISObjectPtr thePrevious)
 Creates tangent constraiont presentation. More...
 
static AISObjectPtr middleConstraint (ModelAPI_Feature *theConstraint, SketchPlugin_Sketch *theSketcher, AISObjectPtr thePrevious)
 Creates middle constraint presentation. More...
 
static AISObjectPtr mirrorConstraint (ModelAPI_Feature *theConstraint, SketchPlugin_Sketch *theSketcher, AISObjectPtr thePrevious)
 Creates mirror constraint presentation. More...
 
static AISObjectPtr translateConstraint (ModelAPI_Feature *theConstraint, SketchPlugin_Sketch *theSketcher, AISObjectPtr thePrevious)
 Creates translate constraint presentation. More...
 
static AISObjectPtr rotateConstraint (ModelAPI_Feature *theConstraint, SketchPlugin_Sketch *theSketcher, AISObjectPtr thePrevious)
 Creates rotate constraint presentation. More...
 
static AISObjectPtr coincidentConstraint (ModelAPI_Feature *theConstraint, SketchPlugin_Sketch *theSketcher, AISObjectPtr thePrevious)
 Creates coincedent constraint presentation. More...
 
static AISObjectPtr lengthDimensionConstraint (ModelAPI_Feature *theConstraint, SketchPlugin_Sketch *theSketcher, AISObjectPtr thePrevious)
 Creates length dimension presentation. More...
 
static AISObjectPtr angleConstraint (ModelAPI_Feature *theConstraint, SketchPlugin_Sketch *theSketcher, AISObjectPtr thePrevious)
 Creates angle constraint presentation. More...
 
static AISObjectPtr radiusConstraint (ModelAPI_Feature *theConstraint, SketchPlugin_Sketch *theSketcher, AISObjectPtr thePrevious)
 Creates radius dimension presentation. More...
 
static AISObjectPtr offsetObject (ModelAPI_Feature *theConstraint, SketchPlugin_Sketch *theSketcher, AISObjectPtr thePrevious)
 Creates radius dimension presentation. More...
 

Detailed Description

Class which creates constraints presentations.

Member Function Documentation

◆ collinearConstraint()

AISObjectPtr SketcherPrs_Factory::collinearConstraint ( ModelAPI_Feature theConstraint,
SketchPlugin_Sketch theSketcher,
AISObjectPtr  thePrevious 
)
static

Creates collinear constraint presentation.

Parameters
theConstraintthe constraint
thePlanethe current sketch plane
thePreviousthe previous presentation

◆ parallelConstraint()

AISObjectPtr SketcherPrs_Factory::parallelConstraint ( ModelAPI_Feature theConstraint,
SketchPlugin_Sketch theSketcher,
AISObjectPtr  thePrevious 
)
static

Creates parallel constraint presentation.

Parameters
theConstraintthe constraint
thePlanethe current sketch plane
thePreviousthe previous presentation

◆ perpendicularConstraint()

AISObjectPtr SketcherPrs_Factory::perpendicularConstraint ( ModelAPI_Feature theConstraint,
SketchPlugin_Sketch theSketcher,
AISObjectPtr  thePrevious 
)
static

Creates coincedent perpendicular presentation.

Parameters
theConstraintthe constraint
thePlanethe current sketch plane
thePreviousthe previous presentation

◆ rigidConstraint()

AISObjectPtr SketcherPrs_Factory::rigidConstraint ( ModelAPI_Feature theConstraint,
SketchPlugin_Sketch theSketcher,
AISObjectPtr  thePrevious 
)
static

Creates rigid constraint presentation.

Parameters
theConstraintthe constraint
thePlanethe current sketch plane
thePreviousthe previous presentation

◆ horisontalConstraint()

AISObjectPtr SketcherPrs_Factory::horisontalConstraint ( ModelAPI_Feature theConstraint,
SketchPlugin_Sketch theSketcher,
AISObjectPtr  thePrevious 
)
static

Creates horizontal constraint presentation.

Parameters
theConstraintthe constraint
thePlanethe current sketch plane
thePreviousthe previous presentation

◆ verticalConstraint()

AISObjectPtr SketcherPrs_Factory::verticalConstraint ( ModelAPI_Feature theConstraint,
SketchPlugin_Sketch theSketcher,
AISObjectPtr  thePrevious 
)
static

Creates vertical constraint presentation.

Parameters
theConstraintthe constraint
thePlanethe current sketch plane
thePreviousthe previous presentation

◆ equalConstraint()

AISObjectPtr SketcherPrs_Factory::equalConstraint ( ModelAPI_Feature theConstraint,
SketchPlugin_Sketch theSketcher,
AISObjectPtr  thePrevious 
)
static

Creates equal constraint presentation.

Parameters
theConstraintthe constraint
thePlanethe current sketch plane
thePreviousthe previous presentation

◆ tangentConstraint()

AISObjectPtr SketcherPrs_Factory::tangentConstraint ( ModelAPI_Feature theConstraint,
SketchPlugin_Sketch theSketcher,
AISObjectPtr  thePrevious 
)
static

Creates tangent constraiont presentation.

Parameters
theConstraintthe constraint
thePlanethe current sketch plane
thePreviousthe previous presentation

◆ middleConstraint()

AISObjectPtr SketcherPrs_Factory::middleConstraint ( ModelAPI_Feature theConstraint,
SketchPlugin_Sketch theSketcher,
AISObjectPtr  thePrevious 
)
static

Creates middle constraint presentation.

Parameters
theConstraintthe constraint
thePlanethe current sketch plane
thePreviousthe previous presentation

◆ mirrorConstraint()

AISObjectPtr SketcherPrs_Factory::mirrorConstraint ( ModelAPI_Feature theConstraint,
SketchPlugin_Sketch theSketcher,
AISObjectPtr  thePrevious 
)
static

Creates mirror constraint presentation.

Parameters
theConstraintthe constraint
thePlanethe current sketch plane
thePreviousthe previous presentation

◆ translateConstraint()

AISObjectPtr SketcherPrs_Factory::translateConstraint ( ModelAPI_Feature theConstraint,
SketchPlugin_Sketch theSketcher,
AISObjectPtr  thePrevious 
)
static

Creates translate constraint presentation.

Parameters
theConstraintthe constraint
thePlanethe current sketch plane
thePreviousthe previous presentation

◆ rotateConstraint()

AISObjectPtr SketcherPrs_Factory::rotateConstraint ( ModelAPI_Feature theConstraint,
SketchPlugin_Sketch theSketcher,
AISObjectPtr  thePrevious 
)
static

Creates rotate constraint presentation.

Parameters
theConstraintthe constraint
thePlanethe current sketch plane
thePreviousthe previous presentation

◆ coincidentConstraint()

AISObjectPtr SketcherPrs_Factory::coincidentConstraint ( ModelAPI_Feature theConstraint,
SketchPlugin_Sketch theSketcher,
AISObjectPtr  thePrevious 
)
static

Creates coincedent constraint presentation.

Parameters
theConstraintthe constraint
thePlanethe current sketch plane
thePreviousthe previous presentation

◆ lengthDimensionConstraint()

AISObjectPtr SketcherPrs_Factory::lengthDimensionConstraint ( ModelAPI_Feature theConstraint,
SketchPlugin_Sketch theSketcher,
AISObjectPtr  thePrevious 
)
static

Creates length dimension presentation.

Parameters
theConstraintthe constraint
thePlanethe current sketch plane
thePreviousthe previous presentation

◆ angleConstraint()

AISObjectPtr SketcherPrs_Factory::angleConstraint ( ModelAPI_Feature theConstraint,
SketchPlugin_Sketch theSketcher,
AISObjectPtr  thePrevious 
)
static

Creates angle constraint presentation.

Parameters
theConstraintthe constraint
thePlanethe current sketch plane
thePreviousthe previous presentation

◆ radiusConstraint()

AISObjectPtr SketcherPrs_Factory::radiusConstraint ( ModelAPI_Feature theConstraint,
SketchPlugin_Sketch theSketcher,
AISObjectPtr  thePrevious 
)
static

Creates radius dimension presentation.

Parameters
theConstraintthe constraint
thePlanethe current sketch plane
thePreviousthe previous presentation

◆ offsetObject()

AISObjectPtr SketcherPrs_Factory::offsetObject ( ModelAPI_Feature theConstraint,
SketchPlugin_Sketch theSketcher,
AISObjectPtr  thePrevious 
)
static

Creates radius dimension presentation.

Parameters
theConstraintthe constraint
thePlanethe current sketch plane
thePreviousthe previous presentation