Open CASCADE Technology  7.1.0.beta
Public Member Functions | Protected Attributes
IntTools_ShrunkRange Class Reference

The class provides the computation of a working (shrunk) range [t1, t2] for the 3D-curve of the edge. More...

#include <IntTools_ShrunkRange.hxx>

Public Member Functions

 IntTools_ShrunkRange ()
 
virtual ~IntTools_ShrunkRange ()
 
void SetData (const TopoDS_Edge &aE, const Standard_Real aT1, const Standard_Real aT2, const TopoDS_Vertex &aV1, const TopoDS_Vertex &aV2)
 
void SetContext (const Handle< IntTools_Context > &aCtx)
 
const Handle< IntTools_Context > & Context () const
 
void SetShrunkRange (const Standard_Real aT1, const Standard_Real aT2)
 
void ShrunkRange (Standard_Real &aT1, Standard_Real &aT2) const
 
const Bnd_BoxBndBox () const
 
const TopoDS_EdgeEdge () const
 
void Perform ()
 
Standard_Boolean IsDone () const
 Returns TRUE in case the shrunk range is computed. More...
 
Standard_Boolean IsSplittable () const
 Returns FALSE in case the shrunk range is too short and the edge cannot be split, otherwise returns TRUE. More...
 

Protected Attributes

TopoDS_Edge myEdge
 
TopoDS_Vertex myV1
 
TopoDS_Vertex myV2
 
Standard_Real myT1
 
Standard_Real myT2
 
Standard_Real myTS1
 
Standard_Real myTS2
 
Bnd_Box myBndBox
 
Handle< IntTools_ContextmyCtx
 
Standard_Boolean myIsDone
 
Standard_Boolean myIsSplittable
 

Detailed Description

The class provides the computation of a working (shrunk) range [t1, t2] for the 3D-curve of the edge.

Constructor & Destructor Documentation

IntTools_ShrunkRange::IntTools_ShrunkRange ( )
virtual IntTools_ShrunkRange::~IntTools_ShrunkRange ( )
virtual

Member Function Documentation

const Bnd_Box& IntTools_ShrunkRange::BndBox ( ) const
const Handle< IntTools_Context >& IntTools_ShrunkRange::Context ( ) const
const TopoDS_Edge& IntTools_ShrunkRange::Edge ( ) const
Standard_Boolean IntTools_ShrunkRange::IsDone ( ) const
inline

Returns TRUE in case the shrunk range is computed.

Standard_Boolean IntTools_ShrunkRange::IsSplittable ( ) const
inline

Returns FALSE in case the shrunk range is too short and the edge cannot be split, otherwise returns TRUE.

void IntTools_ShrunkRange::Perform ( )
void IntTools_ShrunkRange::SetContext ( const Handle< IntTools_Context > &  aCtx)
void IntTools_ShrunkRange::SetData ( const TopoDS_Edge aE,
const Standard_Real  aT1,
const Standard_Real  aT2,
const TopoDS_Vertex aV1,
const TopoDS_Vertex aV2 
)
void IntTools_ShrunkRange::SetShrunkRange ( const Standard_Real  aT1,
const Standard_Real  aT2 
)
void IntTools_ShrunkRange::ShrunkRange ( Standard_Real aT1,
Standard_Real aT2 
) const

Field Documentation

Bnd_Box IntTools_ShrunkRange::myBndBox
protected
Handle< IntTools_Context > IntTools_ShrunkRange::myCtx
protected
TopoDS_Edge IntTools_ShrunkRange::myEdge
protected
Standard_Boolean IntTools_ShrunkRange::myIsDone
protected
Standard_Boolean IntTools_ShrunkRange::myIsSplittable
protected
Standard_Real IntTools_ShrunkRange::myT1
protected
Standard_Real IntTools_ShrunkRange::myT2
protected
Standard_Real IntTools_ShrunkRange::myTS1
protected
Standard_Real IntTools_ShrunkRange::myTS2
protected
TopoDS_Vertex IntTools_ShrunkRange::myV1
protected
TopoDS_Vertex IntTools_ShrunkRange::myV2
protected

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