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

Is to represent a Loop's point. [詳解]

公開メンバ関数

 MGLEPoint ()
 
 MGLEPoint (MGComplex::const_pcellItr i, double t)
 
 MGLEPoint (const MGLoop &lp, int i, double t)
 Construct from the loop, edge number, and the edge's parameter value. [詳解]
 
 MGLEPoint (const MGLCisect &lci)
 Conversion constructor from MGLCisect. [詳解]
 
 MGLEPoint (const MGLoop &loop1, const MGLEPoint &lep, const MGLoop &loop2)
 convert loop1's MGLEPoint lep to loop2's MGLEPoint. loop2 must be a copy of loop1. [詳解]
 
bool operator< (const MGLEPoint &lp) const
 Comparison operator. [詳解]
 
bool operator> (const MGLEPoint &lp) const
 
bool operator<= (const MGLEPoint &lp) const
 
bool operator>= (const MGLEPoint &lp) const
 
bool operator== (const MGLEPoint &lp) const
 
bool operator!= (const MGLEPoint &lp) const
 
const MGEdgeedge () const
 Obtain the edge pointer. [詳解]
 
MGEdgeedge_to_update () const
 
int edge_num () const
 return loop's edge number. [詳解]
 
MGVector eval (int nderi=0) const
 
MGVector eval_star (int nderi=0) const
 
bool equal_edge (const MGLEPoint &le2) const
 Test if two LEPoints are of the same edge. [詳解]
 
bool equal_position (const MGLEPoint &le2) const
 Test if two LEPoints are of the same position. [詳解]
 
bool equal_position (const MGPosition &P) const
 Test if this is the same position as P. [詳解]
 
MGUnit_vector inner_vector () const
 
bool is_end_point () const
 test if this is the end point of the loop. [詳解]
 
bool is_start_point () const
 test if this is the start point of the loop. [詳解]
 
bool is_Edge_end_point () const
 test if this is the end point of the loop. [詳解]
 
bool is_Edge_start_point () const
 test if this is the start point of the loop. [詳解]
 
MGComplex::const_pcellItr iterator () const
 Return the iterator of the edge. [詳解]
 
const MGLooploop () const
 Get loop pointer. [詳解]
 
double param () const
 Return edge's curve parameter value. [詳解]
 
void set (MGComplex::const_pcellItr i, double t)
 Set iteraror of the edge and parameter value of the edge. [詳解]
 
void set (double t)
 Update only parameter value of the edge. [詳解]
 
MGLEPoint end_of_pre_edge () const
 
MGLEPoint start_of_next_edge () const
 

フレンド

MG_DLL_DECLR friend std::ostream & operator<< (std::ostream &, const MGLEPoint &)
 String stream Function. [詳解]
 

詳解

Is to represent a Loop's point.

This is represented as (l, i, t), where l is loop pointer, i is the edge's iterator in the loop, and t is the parameter value of the curve of the pcell(edge).

構築子と解体子

MGLEPoint::MGLEPoint ( )
inline
MGLEPoint::MGLEPoint ( MGComplex::const_pcellItr  i,
double  t 
)
inline
引数
iLoop's edge iterator.
tParameter value of i-th pcell curve.
MGLEPoint::MGLEPoint ( const MGLoop lp,
int  i,
double  t 
)

Construct from the loop, edge number, and the edge's parameter value.

引数
lpThe target loop.
iEdge number.
tParameter value of the edge i.
MGLEPoint::MGLEPoint ( const MGLCisect lci)

Conversion constructor from MGLCisect.

MGLEPoint::MGLEPoint ( const MGLoop loop1,
const MGLEPoint lep,
const MGLoop loop2 
)

convert loop1's MGLEPoint lep to loop2's MGLEPoint. loop2 must be a copy of loop1.

引数
loop1Loop 1.
lepParameter value of i-th pcell curve of loop1.
loop2Loop2.

関数詳解

const MGEdge* MGLEPoint::edge ( ) const

Obtain the edge pointer.

int MGLEPoint::edge_num ( ) const

return loop's edge number.

MGEdge* MGLEPoint::edge_to_update ( ) const
MGLEPoint MGLEPoint::end_of_pre_edge ( ) const
bool MGLEPoint::equal_edge ( const MGLEPoint le2) const
inline

Test if two LEPoints are of the same edge.

bool MGLEPoint::equal_position ( const MGLEPoint le2) const

Test if two LEPoints are of the same position.

bool MGLEPoint::equal_position ( const MGPosition P) const

Test if this is the same position as P.

MGVector MGLEPoint::eval ( int  nderi = 0) const

Evaluation of the loop at the LEPoint. When nderi=0, get the positional data(a parameter (u,v) of the surface) at the point.

MGVector MGLEPoint::eval_star ( int  nderi = 0) const

Evaluation of the star curves of the loop at the point t. When nderi=0, get a position of the surface at the boundary point. The star curve is SurfCurve(face's surface, loop's curve). (The star curve has the same world coordinate with the binder curve's, but their direction may be opposite. The star curve has always the same direction as the loop.)

MGUnit_vector MGLEPoint::inner_vector ( ) const

Compute a vector at the MGLEPoint point that goes inside the face and perpendicular to the boundary loop.

bool MGLEPoint::is_Edge_end_point ( ) const

test if this is the end point of the loop.

bool MGLEPoint::is_Edge_start_point ( ) const

test if this is the start point of the loop.

bool MGLEPoint::is_end_point ( ) const

test if this is the end point of the loop.

bool MGLEPoint::is_start_point ( ) const

test if this is the start point of the loop.

MGComplex::const_pcellItr MGLEPoint::iterator ( ) const
inline

Return the iterator of the edge.

const MGLoop* MGLEPoint::loop ( ) const

Get loop pointer.

bool MGLEPoint::operator!= ( const MGLEPoint lp) const
inline
bool MGLEPoint::operator< ( const MGLEPoint lp) const

Comparison operator.

bool MGLEPoint::operator<= ( const MGLEPoint lp) const
bool MGLEPoint::operator== ( const MGLEPoint lp) const
bool MGLEPoint::operator> ( const MGLEPoint lp) const
bool MGLEPoint::operator>= ( const MGLEPoint lp) const
double MGLEPoint::param ( ) const
inline

Return edge's curve parameter value.

void MGLEPoint::set ( MGComplex::const_pcellItr  i,
double  t 
)

Set iteraror of the edge and parameter value of the edge.

引数
iIterator of the edge.
tparameter of the edge.
void MGLEPoint::set ( double  t)
inline

Update only parameter value of the edge.

引数
tparameter of the edge.
MGLEPoint MGLEPoint::start_of_next_edge ( ) const

フレンドと関連関数の詳解

MG_DLL_DECLR friend std::ostream& operator<< ( std::ostream &  ,
const MGLEPoint  
)
friend

String stream Function.


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