|
Open CASCADE Technology
6.5.4
|
The class provides the computation of
a working (shrunk) range [t1, t2] for
the 3D-curve of the edge.
#include <IntTools_ShrunkRange.hxx>
Public Member Functions | |
| DEFINE_STANDARD_ALLOC | IntTools_ShrunkRange () |
| Empty constructor | |
| IntTools_ShrunkRange (const TopoDS_Edge &aE, const TopoDS_Vertex &aV1, const TopoDS_Vertex &aV2, const IntTools_Range &aR, const Handle< IntTools_Context > &ICtx) | |
| void | SetContext (const Handle< IntTools_Context > &aContext) |
| Sets the intersecton context | |
| const Handle_IntTools_Context & | Context () const |
| Gets the intersecton context | |
| void | SetShrunkRange (const IntTools_Range &aR) |
| Sets an shrunk range | |
| const IntTools_Range & | ShrunkRange () const |
| Returns shrunk range | |
| const Bnd_Box & | BndBox () const |
| Returns bounding box for edge restricted by shrunk range | |
| const TopoDS_Edge & | Edge () const |
| Returns edge for which the shrunk range is computed | |
| void | Perform () |
| Computes shrunk range for an edge given in constructor | |
| Standard_Boolean | IsDone () const |
| Returns true if no error occured during shrunk range computation | |
| 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 | |
| IntTools_ShrunkRange::IntTools_ShrunkRange | ( | const TopoDS_Edge & | aE, |
| const TopoDS_Vertex & | aV1, | ||
| const TopoDS_Vertex & | aV2, | ||
| const IntTools_Range & | aR, | ||
| const Handle< IntTools_Context > & | ICtx | ||
| ) |
| 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 |
| void IntTools_ShrunkRange::SetContext | ( | const Handle< IntTools_Context > & | aContext | ) |
| const IntTools_Range& IntTools_ShrunkRange::ShrunkRange | ( | ) | const |
1.8.0