Open CASCADE Technology 6.6.0
|
The class provides the computation of
a working (shrunk) range [t1, t2] for
the 3D-curve of the edge.
#include <BOPInt_ShrunkRange.hxx>
Public Member Functions | |
BOPInt_ShrunkRange () | |
void | SetData (const TopoDS_Edge &aE, const Standard_Real aT1, const Standard_Real aT2, const TopoDS_Vertex &aV1, const TopoDS_Vertex &aV2, const Handle< BOPInt_Context > &ICtx) |
void | SetShrunkRange (const Standard_Real aT1, const Standard_Real aT2) |
void | ShrunkRange (Standard_Real &aT1, Standard_Real &aT2) const |
const Bnd_Box & | BndBox () const |
const TopoDS_Edge & | Edge () 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 | |
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_BOPInt_Context | myCtx |
Standard_Integer | myErrorStatus |
BOPInt_ShrunkRange::BOPInt_ShrunkRange | ( | ) |
const Bnd_Box& BOPInt_ShrunkRange::BndBox | ( | ) | const |
const TopoDS_Edge& BOPInt_ShrunkRange::Edge | ( | ) | const |
Standard_Integer BOPInt_ShrunkRange::ErrorStatus | ( | ) | const |
void BOPInt_ShrunkRange::Perform | ( | ) |
void BOPInt_ShrunkRange::SetData | ( | const TopoDS_Edge & | aE, |
const Standard_Real | aT1, | ||
const Standard_Real | aT2, | ||
const TopoDS_Vertex & | aV1, | ||
const TopoDS_Vertex & | aV2, | ||
const Handle< BOPInt_Context > & | ICtx | ||
) |
void BOPInt_ShrunkRange::SetShrunkRange | ( | const Standard_Real | aT1, |
const Standard_Real | aT2 | ||
) |
void BOPInt_ShrunkRange::ShrunkRange | ( | Standard_Real & | aT1, |
Standard_Real & | aT2 | ||
) | const |
Bnd_Box BOPInt_ShrunkRange::myBndBox [protected] |
Handle_BOPInt_Context BOPInt_ShrunkRange::myCtx [protected] |
TopoDS_Edge BOPInt_ShrunkRange::myEdge [protected] |
Standard_Integer BOPInt_ShrunkRange::myErrorStatus [protected] |
Standard_Real BOPInt_ShrunkRange::myT1 [protected] |
Standard_Real BOPInt_ShrunkRange::myT2 [protected] |
Standard_Real BOPInt_ShrunkRange::myTS1 [protected] |
Standard_Real BOPInt_ShrunkRange::myTS2 [protected] |
TopoDS_Vertex BOPInt_ShrunkRange::myV1 [protected] |
TopoDS_Vertex BOPInt_ShrunkRange::myV2 [protected] |