MGCL V10
V10
MGCL V10
|
Curve continuity measuring class. [詳解]
公開型 | |
enum | CONTINUITY { DISCONT =-1, G0 =0, G1, G2 } |
enumeration to represent geometric continuity [詳解] | |
公開メンバ関数 | |
MGCurveContinuity (const MGCurve &curve1, const MGCurve &curve2) | |
constructor [詳解] | |
CONTINUITY | get_continuity () const |
Get the continuity of the two curves. [詳解] | |
const MGPosition & | P1 () const |
Get the curve1 position(start or end) that is closest to curve2. [詳解] | |
const MGPosition & | P2 () const |
Get the curve2 position(start or end) that is closest to curve1. [詳解] | |
double | distance () const |
Get the distance ot P1() and P2(). [詳解] | |
const MGUnit_vector & | tan1 () const |
Get the tangent as P1(). [詳解] | |
const MGUnit_vector & | tan2 () const |
Get the tangent as P2(). [詳解] | |
double | tandiff () const |
tan1 and tan2's angle in radian. [詳解] | |
const MGUnit_vector & | normal1 () const |
Get curvature direction at P1(). [詳解] | |
const MGUnit_vector & | normal2 () const |
Get curvature direction at P2(). [詳解] | |
double | normaldiff () const |
Get the normal1 and normal2's angle in radian. [詳解] | |
double | curvature1 () const |
Get curvature at P1(). [詳解] | |
double | curvature2 () const |
Get curvature at P2(). [詳解] | |
Curve continuity measuring class.
MGCurveContinuity measures the continuity of two curves. Measuring is done at the closest end points of the two curves. To us MGCurveContinuity, construct MGCurveContinuity object by inputting two curves. All of the continuity information will be generated in the MGCurveContinuity object.
|
inline |
Get curvature at P1().
|
inline |
Get curvature at P2().
|
inline |
Get the continuity of the two curves.
|
inline |
Get curvature direction at P1().
|
inline |
Get curvature direction at P2().
|
inline |
Get the normal1 and normal2's angle in radian.
|
inline |
Get the curve1 position(start or end) that is closest to curve2.
|
inline |
Get the curve2 position(start or end) that is closest to curve1.
|
inline |
Get the tangent as P1().
|
inline |
Get the tangent as P2().
|
inline |
tan1 and tan2's angle in radian.