Open CASCADE Technology  6.9.1
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_Integer ErrorStatus () const
 Returns code of computing shrunk range completion 0 - means successful completion 1 - nothing has been done 2 - initial range is out of edge's range 3 - first boundary of initial range is more than last boundary 4 - projection of first vertex failed 5 - projection of second vertex failed 6 - shrunk range can not be computed shrunk range is setted to initial range. 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_Integer myErrorStatus
 

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_Integer IntTools_ShrunkRange::ErrorStatus ( ) const

Returns code of computing shrunk range completion 0 - means successful completion 1 - nothing has been done 2 - initial range is out of edge's range 3 - first boundary of initial range is more than last boundary 4 - projection of first vertex failed 5 - projection of second vertex failed 6 - shrunk range can not be computed shrunk range is setted to initial range.

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_Integer IntTools_ShrunkRange::myErrorStatus
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: