![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
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 |
The class provides the computation of a working (shrunk) range [t1, t2] for the 3D-curve of the edge.
| IntTools_ShrunkRange::IntTools_ShrunkRange | ( | ) |
|
virtual |
| const Bnd_Box & IntTools_ShrunkRange::BndBox | ( | ) | const |
| const occ::handle< IntTools_Context > & IntTools_ShrunkRange::Context | ( | ) | const |
| const TopoDS_Edge & IntTools_ShrunkRange::Edge | ( | ) | const |
|
inline |
Returns TRUE in case the shrunk range is computed.
|
inline |
Returns FALSE in case the shrunk range is too short and the edge cannot be split, otherwise returns TRUE.
|
inline |
Returns the length of the edge if computed.
| void IntTools_ShrunkRange::Perform | ( | ) |
| void IntTools_ShrunkRange::SetContext | ( | const occ::handle< IntTools_Context > & | aCtx | ) |
| void IntTools_ShrunkRange::SetData | ( | const TopoDS_Edge & | aE, |
| const double | aT1, | ||
| const double | aT2, | ||
| const TopoDS_Vertex & | aV1, | ||
| const TopoDS_Vertex & | aV2 ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |