Open CASCADE Technology Reference Manual 8.0.2
Loading...
Searching...
No Matches
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 double aT1, const double aT2, const TopoDS_Vertex &aV1, const TopoDS_Vertex &aV2)
void SetContext (const occ::handle< IntTools_Context > &aCtx)
const occ::handle< IntTools_Context > & Context () const
void SetShrunkRange (const double aT1, const double aT2)
void ShrunkRange (double &aT1, double &aT2) const
const Bnd_Box & BndBox () const
const TopoDS_Edge & Edge () const
void Perform ()
bool IsDone () const
 Returns TRUE in case the shrunk range is computed.
bool IsSplittable () const
 Returns FALSE in case the shrunk range is too short and the edge cannot be split, otherwise returns TRUE.
double Length () const
 Returns the length of the edge if computed.

Protected Attributes

TopoDS_Edge myEdge
TopoDS_Vertex myV1
TopoDS_Vertex myV2
double myT1
double myT2
double myTS1
double myTS2
Bnd_Box myBndBox
occ::handle< IntTools_Context > myCtx
bool myIsDone
bool myIsSplittable
double 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 occ::handle< IntTools_Context > & IntTools_ShrunkRange::Context ( ) const

◆ Edge()

const TopoDS_Edge & IntTools_ShrunkRange::Edge ( ) const

◆ IsDone()

bool IntTools_ShrunkRange::IsDone ( ) const
inline

Returns TRUE in case the shrunk range is computed.

◆ IsSplittable()

bool 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()

double IntTools_ShrunkRange::Length ( ) const
inline

Returns the length of the edge if computed.

◆ Perform()

void IntTools_ShrunkRange::Perform ( )

◆ SetContext()

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

◆ SetData()

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

◆ SetShrunkRange()

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

◆ ShrunkRange()

void IntTools_ShrunkRange::ShrunkRange ( double & aT1,
double & aT2 ) const

Field Documentation

◆ myBndBox

Bnd_Box IntTools_ShrunkRange::myBndBox
protected

◆ myCtx

occ::handle<IntTools_Context> IntTools_ShrunkRange::myCtx
protected

◆ myEdge

TopoDS_Edge IntTools_ShrunkRange::myEdge
protected

◆ myIsDone

bool IntTools_ShrunkRange::myIsDone
protected

◆ myIsSplittable

bool IntTools_ShrunkRange::myIsSplittable
protected

◆ myLength

double IntTools_ShrunkRange::myLength
protected

◆ myT1

double IntTools_ShrunkRange::myT1
protected

◆ myT2

double IntTools_ShrunkRange::myT2
protected

◆ myTS1

double IntTools_ShrunkRange::myTS1
protected

◆ myTS2

double 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: