|
C3D Toolkit
Kernel - 118057, Vision - 2.14.7.1821
|
Intersection point of two curves. More...
#include <mb_cross_point.h>
Collaboration diagram for MbCrossPoint:Public Member Functions | |
| MbCrossPoint () | |
| Default constructor. | |
| MbCrossPoint (const MbCartPoint &pnt, const MbPointOnCurve< MbCurve > &pOn1, const MbPointOnCurve< MbCurve > &pOn2) | |
| Constructor by intersection point and its parametric coordinates on each curve. | |
| MbCrossPoint (const MbCrossPoint &other) | |
| Copy-constructor. | |
| ~MbCrossPoint () | |
| Destructor. | |
| void | Swap () |
| Swap curves with parameters. | |
| void | Init (const MbCartPoint &pnt, const MbPointOnCurve< MbCurve > &pOn1, const MbPointOnCurve< MbCurve > &pOn2) |
| Initialize a point by a two-dimensional intersection point and parameters of intersection. | |
| void | SetFormType (MbeIntersectionType iType) |
| Set type of intersection. | |
| MbeIntersectionType | GetFormType () const |
| Get type of intersection. | |
| bool | IsTangent () const |
| Whether the intersection point is a tangent intersection. | |
| bool | operator== (const MbCrossPoint &) const |
| Comparison operator. | |
| void | operator= (const MbCrossPoint &other) |
| Assignment operator. | |
Public Attributes | |
| MbCartPoint | p |
| Two-dimensional coordinates of intersection points of two curves. | |
| MbPointOnCurve< MbCurve > | on1 |
| Parametric coordinate of point on the first curve. | |
| MbPointOnCurve< MbCurve > | on2 |
| Parametric coordinate of a point on the second curve. | |
| MbeIntersectionType | form |
| Type of intersection point (ipt_Simple - simple intersection, ipt_Tangent - tangent). | |
Intersection point of two curves.
Intersection point of two curves consisting of a two-dimensional intersection point, its parametric coordinates on intersecting curves and type of intersection (simple intersection or tangent intersection).