MGCL V10  V10
MGCL V10
 全て クラス 名前空間 関数 変数 型定義 列挙型 列挙値 フレンド グループ ページ
MGSSisect クラス

MGSSisect represents one intersection line of two surfaces. [詳解]

MGSSisect の継承関係図
MGisect

公開メンバ関数

 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 &param1, const MGCurve &param2, const MGSSRELATION r1=MGSSREL_UNKNOWN)
 
 ~MGSSisect ()
 
MGSSisectoperator= (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 MGObjectisect () const
 Return the object of the intersection(world coordinates representation). [詳解]
 
const MGCurveisect1_param1 () const
 
const MGCurveisect1_param2 () const
 
MGCurveline () const
 
int manifold_dimension () const
 
void negate ()
 negate the direction of the intersection line. [詳解]
 
std::ostream & out (std::ostream &ostrm) const
 Output function. [詳解]
 
MGCurveparam1 () const
 
MGCurveparam2 () const
 
MGSSRELATION rel () const
 
MGCurverelease_line ()
 
MGCurverelease_param1 ()
 
MGCurverelease_param2 ()
 
MGSSisectreplace12 ()
 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 の交線を一つのみ表現する。交線の集合は別に表現される。

構築子と解体子

MGSSisect::MGSSisect ( )
inline

Void constructou. 初期化なしでDummy交線を生成

MGSSisect::MGSSisect ( const MGSSisect ssi)

Copy Constructor; ssi's ownership of all the three curves will be released.

MGSSisect::MGSSisect ( MGCurve iline,
MGCurve param1,
MGCurve param2,
const MGSSRELATION  r1 = MGSSREL_UNKNOWN 
)
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.

引数
ilinePointer of newed object.
param1Pointer of newed object.
param2Pointer of newed object.
r1Relation 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 ( )

関数詳解

void MGSSisect::exchange12 ( )
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).

bool MGSSisect::is_null ( ) const
inline

Test if this SSI is null.

const MGObject& MGSSisect::isect ( ) const
inlinevirtual

Return the object of the intersection(world coordinates representation).

MGisectを実装しています。

const MGCurve* MGSSisect::isect1_param1 ( ) const
inlinevirtual

Return the 1st object's parameter value curve of the intersection. *****This function is valid only when manifold_dimension()==1.

MGisectを再実装しています。

const MGCurve* MGSSisect::isect1_param2 ( ) const
inlinevirtual

Return the 2nd object's parameter value curve of the intersection. *****This function is valid only when manifold_dimension()==1.

MGisectを再実装しています。

MGCurve& MGSSisect::line ( ) const
inline

交線の座標値表現を返却する Return (x,y,z) coordinate representation intersection line.

int MGSSisect::manifold_dimension ( ) const
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.

bool MGSSisect::operator!= ( const MGSSisect ssi2) const
inline
bool MGSSisect::operator< ( const MGSSisect ssi2) const
virtual

Comparison operator.

MGisectを実装しています。

bool MGSSisect::operator< ( const MGisect is) const
virtual

Ordering functions.

MGisectを実装しています。

bool MGSSisect::operator< ( const MGCCisect is) const
inlinevirtual

MGisectを実装しています。

bool MGSSisect::operator< ( const MGCSisect is) const
inlinevirtual

MGisectを実装しています。

bool MGSSisect::operator< ( const MGCFisect is) const
inlinevirtual

MGisectを実装しています。

bool MGSSisect::operator< ( const MGFFisect is) const
inlinevirtual

MGisectを実装しています。

bool MGSSisect::operator<= ( const MGSSisect ssi2) const
inline
MGSSisect& MGSSisect::operator= ( const MGSSisect ssi)

Assignment ssi's ownership of all the three curves will be released.

bool MGSSisect::operator== ( const MGSSisect ssi2) const
bool MGSSisect::operator== ( const MGisect is) const
virtual

MGisectを実装しています。

bool MGSSisect::operator> ( const MGSSisect ssi2) const
inline
bool MGSSisect::operator>= ( const MGSSisect ssi2) const
inline
std::ostream& MGSSisect::out ( std::ostream &  ostrm) const
virtual

Output function.

MGisectを実装しています。

MGCurve& MGSSisect::param1 ( ) const
inline

交線の第1surface のパラメータ値表現を返却する Return (u,v) parameter representation intersection line of the 1st surface.

MGCurve& MGSSisect::param2 ( ) const
inline

交線の第2surface のパラメータ値表現を返却する Return (u,v) parameter representation intersection line of the 2nd surface.

MGSSRELATION MGSSisect::rel ( ) const
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 ( )

このクラス詳解は次のファイルから抽出されました: