Open CASCADE Technology 6.6.0
Public Member Functions
AIS_ParallelRelation Class Reference

A framework to display constraints of parallelism
between two or more Interactive Objects. These
entities can be faces or edges.

#include <AIS_ParallelRelation.hxx>

Inheritance diagram for AIS_ParallelRelation:
Inheritance graph
[legend]

Public Member Functions

 AIS_ParallelRelation (const TopoDS_Shape &aFShape, const TopoDS_Shape &aSShape, const Handle< Geom_Plane > &aPlane)
 Constructs an object to display parallel constraints.
This object is defined by the first shape aFShape and
the second shape aSShape and the plane aPlane.

 AIS_ParallelRelation (const TopoDS_Shape &aFShape, const TopoDS_Shape &aSShape, const Handle< Geom_Plane > &aPlane, const gp_Pnt &aPosition, const DsgPrs_ArrowSide aSymbolPrs, const Standard_Real anArrowSize=0.01)
 Constructs an object to display parallel constraints.
This object is defined by the first shape aFShape and
the second shape aSShape the plane aPlane, the
position aPosition, the type of arrow, aSymbolPrs and
its size anArrowSize.

virtual Standard_Boolean IsMovable () const
 Returns true if the parallelism is movable.

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 !!!


Constructor & Destructor Documentation

AIS_ParallelRelation::AIS_ParallelRelation ( const TopoDS_Shape aFShape,
const TopoDS_Shape aSShape,
const Handle< Geom_Plane > &  aPlane 
)
AIS_ParallelRelation::AIS_ParallelRelation ( const TopoDS_Shape aFShape,
const TopoDS_Shape aSShape,
const Handle< Geom_Plane > &  aPlane,
const gp_Pnt aPosition,
const DsgPrs_ArrowSide  aSymbolPrs,
const Standard_Real  anArrowSize = 0.01 
)

Member Function Documentation

virtual void AIS_ParallelRelation::Compute ( const Handle< Prs3d_Projector > &  aProjector,
const Handle< Geom_Transformation > &  aTrsf,
const Handle< Prs3d_Presentation > &  aPresentation 
) [virtual]

Reimplemented from PrsMgr_PresentableObject.

virtual Standard_Boolean AIS_ParallelRelation::IsMovable ( ) const [virtual]

Reimplemented from AIS_Relation.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines