Open CASCADE Technology
6.5.4
|
A framework to define a constraint by a relation of
concentricity between two or more interactive datums.
The display of this constraint is also defined.
A plane is used to create an axis along which the
relation of concentricity can be extended.
#include <AIS_ConcentricRelation.hxx>
Public Member Functions | |
AIS_ConcentricRelation (const TopoDS_Shape &aFShape, const TopoDS_Shape &aSShape, const Handle< Geom_Plane > &aPlane) | |
Constructs the display object for concentric relations between shapes. This object is defined by the two shapes, aFShape and aSShape and the plane aPlane. aPlane is provided to create an axis along which the relation of concentricity can be extended. | |
virtual void | Compute (const Handle< Prs3d_Projector > &aProjector, const Handle< Geom_Transformation > &aTrsf, const Handle< Prs3d_Presentation > &aPresentation) |
computes the presentation according to a point of view given by <aProjector>. To be Used when the associated degenerated Presentations have been transformed by <aTrsf> which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING :<aTrsf> must be applied to the object to display before computation !!! |
AIS_ConcentricRelation::AIS_ConcentricRelation | ( | const TopoDS_Shape & | aFShape, |
const TopoDS_Shape & | aSShape, | ||
const Handle< Geom_Plane > & | aPlane | ||
) |
virtual void AIS_ConcentricRelation::Compute | ( | const Handle< Prs3d_Projector > & | aProjector, |
const Handle< Geom_Transformation > & | aTrsf, | ||
const Handle< Prs3d_Presentation > & | aPresentation | ||
) | [virtual] |
Reimplemented from PrsMgr_PresentableObject.