![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Set of the methods useful for the MAT's computation. Tool2d contains the geometry of the bisecting locus. More...
#include <MAT2d_Tool2d.hxx>
Public Member Functions | |
| MAT2d_Tool2d () | |
| Empty Constructor. | |
| void | Sense (const MAT_Side aside) |
| <aSide> defines the side of the computation of the map. | |
| void | SetJoinType (const GeomAbs_JoinType aJoinType) |
| void | InitItems (const occ::handle< MAT2d_Circuit > &aCircuit) |
| InitItems cuts the line in Items. this Items are the geometrics representations of the BasicElts from MAT. | |
| int | NumberOfItems () const |
| Returns the Number of Items . | |
| double | ToleranceOfConfusion () const |
| Returns tolerance to test the confusion of two points. | |
| int | FirstPoint (const int anitem, double &dist) |
| Creates the point at the origin of the bisector between anitem and the previous item. dist is the distance from the FirstPoint to <anitem>. Returns the index of this point in <theGeomPnts>. | |
| int | TangentBefore (const int anitem, const bool IsOpenResult) |
| Creates the Tangent at the end of the Item defined by <anitem>. Returns the index of this vector in <theGeomVecs> | |
| int | TangentAfter (const int anitem, const bool IsOpenResult) |
| Creates the Reversed Tangent at the origin of the Item defined by <anitem>. Returns the index of this vector in <theGeomVecs> | |
| int | Tangent (const int bisector) |
| Creates the Tangent at the end of the bisector defined by <bisector>. Returns the index of this vector in <theGeomVecs> | |
| void | CreateBisector (const occ::handle< MAT_Bisector > &abisector) |
| Creates the geometric bisector defined by <abisector>. | |
| bool | TrimBisector (const occ::handle< MAT_Bisector > &abisector) |
| Trims the geometric bisector by the <firstparameter> of <abisector>. If the parameter is out of the bisector, Return FALSE. else Return True. | |
| bool | TrimBisector (const occ::handle< MAT_Bisector > &abisector, const int apoint) |
| Trims the geometric bisector by the point of index <apoint> in <theGeomPnts>. If the point is out of the bisector, Return FALSE. else Return True. | |
| double | IntersectBisector (const occ::handle< MAT_Bisector > &bisectorone, const occ::handle< MAT_Bisector > &bisectortwo, int &intpnt) |
| Computes the point of intersection between the bisectors defined by <bisectorone> and <bisectortwo> . If this point exists, <intpnt> is its index in <theGeomPnts> and Return the distance of the point from the bisector else Return <RealLast>. | |
| double | Distance (const occ::handle< MAT_Bisector > &abisector, const double param1, const double param2) const |
| Returns the distance between the two points designed by their parameters on <abisector>. | |
| void | Dump (const int bisector, const int erease) const |
| displays information about the bisector defined by <bisector>. | |
| const Bisector_Bisec & | GeomBis (const int Index) const |
| Returns the <Bisec> of index <Index> in <theGeomBisectors>. | |
| occ::handle< Geom2d_Geometry > | GeomElt (const int Index) const |
| Returns the Geometry of index <Index> in <theGeomElts>. | |
| const gp_Pnt2d & | GeomPnt (const int Index) const |
| Returns the point of index <Index> in the <theGeomPnts>. | |
| const gp_Vec2d & | GeomVec (const int Index) const |
| Returns the vector of index <Index> in the <theGeomVecs>. | |
| occ::handle< MAT2d_Circuit > | Circuit () const |
| void | BisecFusion (const int Index1, const int Index2) |
| Bisector_Bisec & | ChangeGeomBis (const int Index) |
| Returns the <Bisec> of index <Index> in <theGeomBisectors>. | |
Set of the methods useful for the MAT's computation. Tool2d contains the geometry of the bisecting locus.
| MAT2d_Tool2d::MAT2d_Tool2d | ( | ) |
Empty Constructor.
| Bisector_Bisec & MAT2d_Tool2d::ChangeGeomBis | ( | const int | Index | ) |
Returns the <Bisec> of index <Index> in <theGeomBisectors>.
| occ::handle< MAT2d_Circuit > MAT2d_Tool2d::Circuit | ( | ) | const |
| void MAT2d_Tool2d::CreateBisector | ( | const occ::handle< MAT_Bisector > & | abisector | ) |
Creates the geometric bisector defined by <abisector>.
| double MAT2d_Tool2d::Distance | ( | const occ::handle< MAT_Bisector > & | abisector, |
| const double | param1, | ||
| const double | param2 ) const |
Returns the distance between the two points designed by their parameters on <abisector>.
displays information about the bisector defined by <bisector>.
Creates the point at the origin of the bisector between anitem and the previous item. dist is the distance from the FirstPoint to <anitem>. Returns the index of this point in <theGeomPnts>.
| const Bisector_Bisec & MAT2d_Tool2d::GeomBis | ( | const int | Index | ) | const |
Returns the <Bisec> of index <Index> in <theGeomBisectors>.
| occ::handle< Geom2d_Geometry > MAT2d_Tool2d::GeomElt | ( | const int | Index | ) | const |
Returns the Geometry of index <Index> in <theGeomElts>.
Returns the point of index <Index> in the <theGeomPnts>.
Returns the vector of index <Index> in the <theGeomVecs>.
| void MAT2d_Tool2d::InitItems | ( | const occ::handle< MAT2d_Circuit > & | aCircuit | ) |
InitItems cuts the line in Items. this Items are the geometrics representations of the BasicElts from MAT.
| double MAT2d_Tool2d::IntersectBisector | ( | const occ::handle< MAT_Bisector > & | bisectorone, |
| const occ::handle< MAT_Bisector > & | bisectortwo, | ||
| int & | intpnt ) |
Computes the point of intersection between the bisectors defined by <bisectorone> and <bisectortwo> . If this point exists, <intpnt> is its index in <theGeomPnts> and Return the distance of the point from the bisector else Return <RealLast>.
| int MAT2d_Tool2d::NumberOfItems | ( | ) | const |
Returns the Number of Items .
<aSide> defines the side of the computation of the map.
| void MAT2d_Tool2d::SetJoinType | ( | const GeomAbs_JoinType | aJoinType | ) |
Creates the Tangent at the end of the bisector defined by <bisector>. Returns the index of this vector in <theGeomVecs>
Creates the Reversed Tangent at the origin of the Item defined by <anitem>. Returns the index of this vector in <theGeomVecs>
Creates the Tangent at the end of the Item defined by <anitem>. Returns the index of this vector in <theGeomVecs>
| double MAT2d_Tool2d::ToleranceOfConfusion | ( | ) | const |
Returns tolerance to test the confusion of two points.
| bool MAT2d_Tool2d::TrimBisector | ( | const occ::handle< MAT_Bisector > & | abisector | ) |
Trims the geometric bisector by the <firstparameter> of <abisector>. If the parameter is out of the bisector, Return FALSE. else Return True.
| bool MAT2d_Tool2d::TrimBisector | ( | const occ::handle< MAT_Bisector > & | abisector, |
| const int | apoint ) |
Trims the geometric bisector by the point of index <apoint> in <theGeomPnts>. If the point is out of the bisector, Return FALSE. else Return True.