Open CASCADE Technology  7.7.0
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...
 
Standard_Real Length () const
 Returns the length of the edge if computed. 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
 
Standard_Real myLength
 

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

◆ ~IntTools_ShrunkRange()

virtual IntTools_ShrunkRange::~IntTools_ShrunkRange ( )
virtual

Member Function Documentation

◆ BndBox()

const Bnd_Box& IntTools_ShrunkRange::BndBox ( ) const

◆ Context()

const Handle< IntTools_Context >& IntTools_ShrunkRange::Context ( ) const

◆ Edge()

const TopoDS_Edge& IntTools_ShrunkRange::Edge ( ) const

◆ IsDone()

Standard_Boolean IntTools_ShrunkRange::IsDone ( ) const
inline

Returns TRUE in case the shrunk range is computed.

◆ IsSplittable()

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.

◆ Length()

Standard_Real IntTools_ShrunkRange::Length ( void  ) const
inline

Returns the length of the edge if computed.

◆ Perform()

void IntTools_ShrunkRange::Perform ( )

◆ SetContext()

void IntTools_ShrunkRange::SetContext ( const Handle< IntTools_Context > &  aCtx)

◆ SetData()

void IntTools_ShrunkRange::SetData ( const TopoDS_Edge aE,
const Standard_Real  aT1,
const Standard_Real  aT2,
const TopoDS_Vertex aV1,
const TopoDS_Vertex aV2 
)

◆ SetShrunkRange()

void IntTools_ShrunkRange::SetShrunkRange ( const Standard_Real  aT1,
const Standard_Real  aT2 
)

◆ ShrunkRange()

void IntTools_ShrunkRange::ShrunkRange ( Standard_Real aT1,
Standard_Real aT2 
) const

Field Documentation

◆ myBndBox

Bnd_Box IntTools_ShrunkRange::myBndBox
protected

◆ myCtx

Handle< IntTools_Context > IntTools_ShrunkRange::myCtx
protected

◆ myEdge

TopoDS_Edge IntTools_ShrunkRange::myEdge
protected

◆ myIsDone

Standard_Boolean IntTools_ShrunkRange::myIsDone
protected

◆ myIsSplittable

Standard_Boolean IntTools_ShrunkRange::myIsSplittable
protected

◆ myLength

Standard_Real IntTools_ShrunkRange::myLength
protected

◆ myT1

Standard_Real IntTools_ShrunkRange::myT1
protected

◆ myT2

Standard_Real IntTools_ShrunkRange::myT2
protected

◆ myTS1

Standard_Real IntTools_ShrunkRange::myTS1
protected

◆ myTS2

Standard_Real IntTools_ShrunkRange::myTS2
protected

◆ myV1

TopoDS_Vertex IntTools_ShrunkRange::myV1
protected

◆ myV2

TopoDS_Vertex IntTools_ShrunkRange::myV2
protected

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