7 #if !defined( __MGCurveContinuity_H__)
8 #define __MGCurveContinuity_H__
10 #include "mg/Unit_vector.h"
11 #include "mg/Position.h"
79 CONTINUITY m_continuity;
100 #endif //__MGCurveContinuity_H__
MGCurve is an abstract class which represents a whole curve.
Definition: Curve.h:63
double tandiff() const
tan1 and tan2's angle in radian.
Definition: CurveContinuity.h:60
CONTINUITY get_continuity() const
Get the continuity of the two curves.
Definition: CurveContinuity.h:42
const MGPosition & P2() const
Get the curve2 position(start or end) that is closest to curve1.
Definition: CurveContinuity.h:48
const MGUnit_vector & normal2() const
Get curvature direction at P2().
Definition: CurveContinuity.h:66
Represent a positional data.
Definition: Position.h:28
double curvature1() const
Get curvature at P1().
Definition: CurveContinuity.h:72
Curve continuity measuring class.
Definition: CurveContinuity.h:25
double distance() const
Get the distance ot P1() and P2().
Definition: CurveContinuity.h:51
const MGUnit_vector & tan1() const
Get the tangent as P1().
Definition: CurveContinuity.h:54
const MGPosition & P1() const
Get the curve1 position(start or end) that is closest to curve2.
Definition: CurveContinuity.h:45
double normaldiff() const
Get the normal1 and normal2's angle in radian.
Definition: CurveContinuity.h:69
double curvature2() const
Get curvature at P2().
Definition: CurveContinuity.h:75
const MGUnit_vector & normal1() const
Get curvature direction at P1().
Definition: CurveContinuity.h:63
const MGUnit_vector & tan2() const
Get the tangent as P2().
Definition: CurveContinuity.h:57
Define a unit vector, is a MGVector.
Definition: Unit_vector.h:17