|
Public Member Functions |
| Standard_EXPORT | MAT2d_Connexion () |
| Standard_EXPORT | MAT2d_Connexion (const Standard_Integer LineA, const Standard_Integer LineB, const Standard_Integer ItemA, const Standard_Integer ItemB, const Standard_Real Distance, const Standard_Real ParameterOnA, const Standard_Real ParameterOnB, const gp_Pnt2d &PointA, const gp_Pnt2d &PointB) |
| Standard_EXPORT Standard_Integer | IndexFirstLine () const |
| | Returns the Index on the first line.
.
|
| Standard_EXPORT Standard_Integer | IndexSecondLine () const |
| | Returns the Index on the Second line.
.
|
| Standard_EXPORT Standard_Integer | IndexItemOnFirst () const |
| | Returns the Index of the item on the first line.
.
|
| Standard_EXPORT Standard_Integer | IndexItemOnSecond () const |
| | Returns the Index of the item on the second line.
.
|
| Standard_EXPORT Standard_Real | ParameterOnFirst () const |
| | Returns the parameter of the point on the firstline.
.
|
| Standard_EXPORT Standard_Real | ParameterOnSecond () const |
| | Returns the parameter of the point on the secondline.
.
|
| Standard_EXPORT gp_Pnt2d | PointOnFirst () const |
| | Returns the point on the firstline.
.
|
| Standard_EXPORT gp_Pnt2d | PointOnSecond () const |
| | Returns the point on the secondline.
.
|
| Standard_EXPORT Standard_Real | Distance () const |
| | Returns the distance between the two points.
.
|
| Standard_EXPORT void | IndexFirstLine (const Standard_Integer anIndex) |
| Standard_EXPORT void | IndexSecondLine (const Standard_Integer anIndex) |
| Standard_EXPORT void | IndexItemOnFirst (const Standard_Integer anIndex) |
| Standard_EXPORT void | IndexItemOnSecond (const Standard_Integer anIndex) |
| Standard_EXPORT void | ParameterOnFirst (const Standard_Real aParameter) |
| Standard_EXPORT void | ParameterOnSecond (const Standard_Real aParameter) |
| Standard_EXPORT void | PointOnFirst (const gp_Pnt2d &aPoint) |
| Standard_EXPORT void | PointOnSecond (const gp_Pnt2d &aPoint) |
| Standard_EXPORT void | Distance (const Standard_Real aDistance) |
| Standard_EXPORT Handle_MAT2d_Connexion | Reverse () const |
| | Returns the reverse connexion of <me>.
the firstpoint is the secondpoint.
the secondpoint is the firstpoint.
.
|
| Standard_EXPORT Standard_Boolean | IsAfter (const Handle(MAT2d_Connexion)&aConnexion, const Standard_Real aSense) const |
| | Returns <true> if my firstPoint is on the same line
than the firstpoint of <aconnexion> and my firstpoint
is after the firstpoint of <aconnexion> on the line.
<asense> = 1 if <aconnexion> is on the Left of its
firstline, else <asense> = -1.
.
|
| Standard_EXPORT void | Dump (const Standard_Integer Deep=0, const Standard_Integer Offset=0) const |
| | Print <me>.
.
|
| Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Private Attributes |
| Standard_Integer | lineA |
| Standard_Integer | lineB |
| Standard_Integer | itemA |
| Standard_Integer | itemB |
| Standard_Real | distance |
| Standard_Real | parameterOnA |
| Standard_Real | parameterOnB |
| gp_Pnt2d | pointA |
| gp_Pnt2d | pointB |