![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
BisectingLocus generates and contains the Bisecting_Locus of a set of lines from Geom2d, defined by <ExploSet>. More...
#include <BRepMAT2d_BisectingLocus.hxx>
Public Member Functions | |
| BRepMAT2d_BisectingLocus () | |
| void | Compute (BRepMAT2d_Explorer &anExplo, const int LineIndex=1, const MAT_Side aSide=MAT_Left, const GeomAbs_JoinType aJoinType=GeomAbs_Arc, const bool IsOpenResult=false) |
| Computation of the Bisector_Locus in a set of Lines defined in <anExplo>. The bisecting locus are computed on the side <aSide> from the line <LineIndex> in <anExplo>. | |
| bool | IsDone () const |
| Returns True if Compute has succeeded. | |
| occ::handle< MAT_Graph > | Graph () const |
| Returns <theGraph> of <me>. | |
| int | NumberOfContours () const |
| Returns the number of contours. | |
| int | NumberOfElts (const int IndLine) const |
| Returns the number of BasicElts on the line <IndLine>. | |
| int | NumberOfSections (const int IndLine, const int Index) const |
| Returns the number of sections of a curve. this curve is the Indexth curve in the IndLineth contour given by anExplo. | |
| occ::handle< MAT_BasicElt > | BasicElt (const int IndLine, const int Index) const |
| Returns the BasicElts located at the position <Index> on the contour designed by <IndLine>. Remark: the BasicElts on a contour are sorted. | |
| occ::handle< Geom2d_Geometry > | GeomElt (const occ::handle< MAT_BasicElt > &aBasicElt) const |
| Returns the geometry linked to the <BasicElt>. | |
| gp_Pnt2d | GeomElt (const occ::handle< MAT_Node > &aNode) const |
| Returns the geometry of type <gp> linked to the <Node>. | |
| Bisector_Bisec | GeomBis (const occ::handle< MAT_Arc > &anArc, bool &Reverse) const |
| Returns the geometry of type <Bissec> linked to the arc <ARC>. <Reverse> is False when the FirstNode of <anArc> correspond to the first point of geometry. | |
BisectingLocus generates and contains the Bisecting_Locus of a set of lines from Geom2d, defined by <ExploSet>.
These lines cut the plane in areas. One map can be computed for each area.
Bisecting locus computes a map in an area. The area is defined by a side (MAT_Left,MAT_Right) on one of the closed lines.
the map recovers all the plane.
Warning: Assume the orientation of the closed lines are compatible.
Assume the explo contains only lines located in the area where the bisecting locus will be computed.
Assume a line don't cross itself or an other line.
Remark: the curves coming from the explorer can be decomposed in different parts. It the case for the curves other than circles or lines.
The map of bisecting locus is described by a graph.
| BRepMAT2d_BisectingLocus::BRepMAT2d_BisectingLocus | ( | ) |
| occ::handle< MAT_BasicElt > BRepMAT2d_BisectingLocus::BasicElt | ( | const int | IndLine, |
| const int | Index ) const |
Returns the BasicElts located at the position <Index> on the contour designed by <IndLine>. Remark: the BasicElts on a contour are sorted.
| void BRepMAT2d_BisectingLocus::Compute | ( | BRepMAT2d_Explorer & | anExplo, |
| const int | LineIndex = 1, | ||
| const MAT_Side | aSide = MAT_Left, | ||
| const GeomAbs_JoinType | aJoinType = GeomAbs_Arc, | ||
| const bool | IsOpenResult = false ) |
Computation of the Bisector_Locus in a set of Lines defined in <anExplo>. The bisecting locus are computed on the side <aSide> from the line <LineIndex> in <anExplo>.
| Bisector_Bisec BRepMAT2d_BisectingLocus::GeomBis | ( | const occ::handle< MAT_Arc > & | anArc, |
| bool & | Reverse ) const |
Returns the geometry of type <Bissec> linked to the arc <ARC>. <Reverse> is False when the FirstNode of <anArc> correspond to the first point of geometry.
| occ::handle< Geom2d_Geometry > BRepMAT2d_BisectingLocus::GeomElt | ( | const occ::handle< MAT_BasicElt > & | aBasicElt | ) | const |
Returns the geometry linked to the <BasicElt>.
| gp_Pnt2d BRepMAT2d_BisectingLocus::GeomElt | ( | const occ::handle< MAT_Node > & | aNode | ) | const |
Returns the geometry of type <gp> linked to the <Node>.
| occ::handle< MAT_Graph > BRepMAT2d_BisectingLocus::Graph | ( | ) | const |
Returns <theGraph> of <me>.
| bool BRepMAT2d_BisectingLocus::IsDone | ( | ) | const |
Returns True if Compute has succeeded.
| int BRepMAT2d_BisectingLocus::NumberOfContours | ( | ) | const |
Returns the number of contours.
Returns the number of BasicElts on the line <IndLine>.
Returns the number of sections of a curve. this curve is the Indexth curve in the IndLineth contour given by anExplo.