Open CASCADE Technology
6.5.4
|
A framework to display constraints of perpendicularity
between two or more interactive datums. These
datums can be edges or faces.
#include <AIS_PerpendicularRelation.hxx>
Public Member Functions | |
AIS_PerpendicularRelation (const TopoDS_Shape &aFShape, const TopoDS_Shape &aSShape, const Handle< Geom_Plane > &aPlane) | |
Constructs an object to display constraints of perpendicularity on shapes. This object is defined by a first shape aFShape, a second shape aSShape, and a plane aPlane. aPlane is the plane of reference to show and test the perpendicular relation between two shapes, at least one of which has a revolved surface. | |
AIS_PerpendicularRelation (const TopoDS_Shape &aFShape, const TopoDS_Shape &aSShape) | |
Constructs an object to display constraints of perpendicularity on shapes. This object is defined by a first shape aFShape and a second shape aSShape. | |
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_PerpendicularRelation::AIS_PerpendicularRelation | ( | const TopoDS_Shape & | aFShape, |
const TopoDS_Shape & | aSShape, | ||
const Handle< Geom_Plane > & | aPlane | ||
) |
AIS_PerpendicularRelation::AIS_PerpendicularRelation | ( | const TopoDS_Shape & | aFShape, |
const TopoDS_Shape & | aSShape | ||
) |
virtual void AIS_PerpendicularRelation::Compute | ( | const Handle< Prs3d_Projector > & | aProjector, |
const Handle< Geom_Transformation > & | aTrsf, | ||
const Handle< Prs3d_Presentation > & | aPresentation | ||
) | [virtual] |
Reimplemented from PrsMgr_PresentableObject.