Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
BRepMAT2d_BisectingLocus Class Reference

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_GraphGraph () 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_BasicEltBasicElt (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_GeometryGeomElt (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.
 

Detailed Description

BisectingLocus generates and contains the Bisecting_Locus of a set of lines from Geom2d, defined by <ExploSet>.

If the set of lines contains closed lines:

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.

If the set of lines contains only open 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.

Constructor & Destructor Documentation

◆ BRepMAT2d_BisectingLocus()

BRepMAT2d_BisectingLocus::BRepMAT2d_BisectingLocus ( )

Member Function Documentation

◆ BasicElt()

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.

◆ Compute()

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>.

◆ GeomBis()

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.

◆ GeomElt() [1/2]

occ::handle< Geom2d_Geometry > BRepMAT2d_BisectingLocus::GeomElt ( const occ::handle< MAT_BasicElt > & aBasicElt) const

Returns the geometry linked to the <BasicElt>.

◆ GeomElt() [2/2]

gp_Pnt2d BRepMAT2d_BisectingLocus::GeomElt ( const occ::handle< MAT_Node > & aNode) const

Returns the geometry of type <gp> linked to the <Node>.

◆ Graph()

occ::handle< MAT_Graph > BRepMAT2d_BisectingLocus::Graph ( ) const

Returns <theGraph> of <me>.

◆ IsDone()

bool BRepMAT2d_BisectingLocus::IsDone ( ) const

Returns True if Compute has succeeded.

◆ NumberOfContours()

int BRepMAT2d_BisectingLocus::NumberOfContours ( ) const

Returns the number of contours.

◆ NumberOfElts()

int BRepMAT2d_BisectingLocus::NumberOfElts ( const int IndLine) const

Returns the number of BasicElts on the line <IndLine>.

◆ NumberOfSections()

int BRepMAT2d_BisectingLocus::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.


The documentation for this class was generated from the following file: