C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

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< MbCurveon1
 Parametric coordinate of point on the first curve.
 
MbPointOnCurve< MbCurveon2
 Parametric coordinate of a point on the second curve.
 
MbeIntersectionType form
 Type of intersection point (ipt_Simple - simple intersection, ipt_Tangent - tangent).
 

Detailed Description

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


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