MGCL V10
V10
MGCL V10
|
MGSSisect represents one intersection line of two surfaces. [詳解]
公開メンバ関数 | |
MGSSisect () | |
Void constructou. 初期化なしでDummy交線を生成 [詳解] | |
MGSSisect (const MGSSisect &ssi) | |
MGSSisect (MGCurve *iline, MGCurve *param1, MGCurve *param2, const MGSSRELATION r1=MGSSREL_UNKNOWN) | |
MGSSisect (const MGCurve &iline, const MGCurve ¶m1, const MGCurve ¶m2, const MGSSRELATION r1=MGSSREL_UNKNOWN) | |
~MGSSisect () | |
MGSSisect & | operator= (const MGSSisect &ssi) |
bool | operator< (const MGSSisect &ssi2) const |
Comparison operator. [詳解] | |
bool | operator> (const MGSSisect &ssi2) const |
bool | operator<= (const MGSSisect &ssi2) const |
bool | operator>= (const MGSSisect &ssi2) const |
bool | operator== (const MGSSisect &ssi2) const |
bool | operator!= (const MGSSisect &ssi2) const |
bool | operator< (const MGisect &is) const |
Ordering functions. [詳解] | |
bool | operator< (const MGCCisect &is) const |
bool | operator< (const MGCSisect &is) const |
bool | operator< (const MGCFisect &is) const |
bool | operator< (const MGFFisect &is) const |
bool | operator== (const MGisect &is) const |
int | has_common (const MGSSisect &ssi2) const |
void | exchange12 () |
Exchange 1st and 2nd order of the parameter line representation. [詳解] | |
bool | is_null () const |
Test if this SSI is null. [詳解] | |
const MGObject & | isect () const |
Return the object of the intersection(world coordinates representation). [詳解] | |
const MGCurve * | isect1_param1 () const |
const MGCurve * | isect1_param2 () const |
MGCurve & | line () const |
int | manifold_dimension () const |
void | negate () |
negate the direction of the intersection line. [詳解] | |
std::ostream & | out (std::ostream &ostrm) const |
Output function. [詳解] | |
MGCurve & | param1 () const |
MGCurve & | param2 () const |
MGSSRELATION | rel () const |
MGCurve * | release_line () |
MGCurve * | release_param1 () |
MGCurve * | release_param2 () |
MGSSisect & | replace12 () |
Replace 1st and 2nd order of the parameter line representation. [詳解] | |
void | set_null () |
基底クラス MGisect に属する継承公開メンバ関数 | |
virtual | ~MGisect () |
virtual bool | operator> (const MGisect &is) const |
virtual bool | operator<= (const MGisect &is) const |
virtual bool | operator>= (const MGisect &is) const |
virtual bool | operator!= (const MGisect &is) const |
virtual MGPosition | isect0_param1 () const |
virtual MGPosition | isect0_param2 () const |
MGSSisect represents one intersection line of two surfaces.
A list of intersection lines are expressed by MGSSisect_list. The behavior of MGSSisect is like a auto_ptr. Copy or assignment of MGSSisect means transfer of the ownership of all the included curve to copied or assigned MGSSisect and original MGSSisect does not have the ownership of the curves any more. User should be aware of it. Surface と Surface の交線を一つのみ表現する。交線の集合は別に表現される。
|
inline |
Void constructou. 初期化なしでDummy交線を生成
MGSSisect::MGSSisect | ( | const MGSSisect & | ssi | ) |
Copy Constructor; ssi's ownership of all the three curves will be released.
|
inline |
Construct providing all the raw data. The ownership of iline, param1, and param2 are all transfered to MGSSisect. All of these objects must be newed ones.
iline | Pointer of newed object. |
param1 | Pointer of newed object. |
param2 | Pointer of newed object. |
r1 | Relation of the two. |
MGSSisect::MGSSisect | ( | const MGCurve & | iline, |
const MGCurve & | param1, | ||
const MGCurve & | param2, | ||
const MGSSRELATION | r1 = MGSSREL_UNKNOWN |
||
) |
Construct providing all the raw data. Copy version. Copy of the three curves will take place.
MGSSisect::~MGSSisect | ( | ) |
|
inlinevirtual |
Exchange 1st and 2nd order of the parameter line representation.
MGisectを実装しています。
int MGSSisect::has_common | ( | const MGSSisect & | ssi2 | ) | const |
Test if two ssi's world curve have common parts (in line_zero()). Fucntion's return value is 1:have common part. 0>=:no common part(except a point).
|
inline |
Test if this SSI is null.
|
inlinevirtual |
Return the object of the intersection(world coordinates representation).
MGisectを実装しています。
|
inlinevirtual |
Return the 1st object's parameter value curve of the intersection. *****This function is valid only when manifold_dimension()==1.
MGisectを再実装しています。
|
inlinevirtual |
Return the 2nd object's parameter value curve of the intersection. *****This function is valid only when manifold_dimension()==1.
MGisectを再実装しています。
|
inline |
交線の座標値表現を返却する Return (x,y,z) coordinate representation intersection line.
|
inlinevirtual |
Return the manifold dimension of the intersection, i.e. 0: when the intersection is a point, 1: when is a curve, 2: when is a surface.
MGisectを実装しています。
void MGSSisect::negate | ( | ) |
negate the direction of the intersection line.
|
inline |
|
virtual |
Comparison operator.
MGisectを実装しています。
|
inline |
Assignment ssi's ownership of all the three curves will be released.
bool MGSSisect::operator== | ( | const MGSSisect & | ssi2 | ) | const |
|
inline |
|
inline |
|
virtual |
Output function.
MGisectを実装しています。
|
inline |
交線の第1surface のパラメータ値表現を返却する Return (u,v) parameter representation intersection line of the 1st surface.
|
inline |
交線の第2surface のパラメータ値表現を返却する Return (u,v) parameter representation intersection line of the 2nd surface.
|
inline |
交線での両surface の関係を返却。 Return the relationship at the intersection line.
MGCurve* MGSSisect::release_line | ( | ) |
Release each curve pointer from this. After the use of release_xxxx(), MGSSisect does not have the ownership of the each curve.
MGCurve* MGSSisect::release_param1 | ( | ) |
MGCurve* MGSSisect::release_param2 | ( | ) |
MGSSisect& MGSSisect::replace12 | ( | ) |
Replace 1st and 2nd order of the parameter line representation.
void MGSSisect::set_null | ( | ) |