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

mgTL2LPline is limitted subinterval of mgTL2Polyline. [詳解]

公開メンバ関数

 mgTL2LPline ()
 Default constructor. [詳解]
 
 mgTL2LPline (const mgTL2LPline &lpline)
 Copy constructor. [詳解]
 
 mgTL2LPline (const mgTL2Polyline *polyline)
 
 mgTL2LPline (const mgTL2Polyline *polyline, int idS, int nV)
 
 mgTL2LPline (const mgTL2LPline &lpline, int idS, int nV)
 Construct from subinterval of input lpline. [詳解]
 
bool change_id (int id_in, int &id_out) const
 
mgTL2LPlineclone () const
 
MGVector eval (double t, int nderi=0) const
 
bool get_id_from_VertexID (int i, short id[3]) const
 
bool is_null () const
 Test if this is a null LPline. [詳解]
 
void setNull ()
 
int isectSlTl (const MGStraight &sl) const
 
mgTL2LPlinelimit (int idS, int nV)
 Limitting is done at the knot parameter for both start and end. [詳解]
 
int number_of_points () const
 
std::auto_ptr< mgTL2PolylinegetPolygonizedMidLine (const mgTL2LPline &lp2, int &id0, int &id2) const
 Get the midline from this->uv(id0) to lp2.uv(id2). [詳解]
 
std::auto_ptr< mgTL2PolylinepolygonizeSL (const mgTL2LPline &pline2, int id1V, int id2V) const
 
std::ostream & out (std::ostream &ostrm) const
 Debug Function. [詳解]
 
void reverse ()
 
void subdivide (int id, mgTL2LPline &lp1, mgTL2LPline &lp2) const
 
void mid (MGPosition &uvmid)
 
const mgTL2PolylineTL2Polyline () const
 
const mgTL2parameterTL2param () const
 
MGPosition uv (int i) const
 
MGPosition xyz (int i, bool need_normal=false) const
 

フレンド

std::ostream & operator<< (std::ostream &ot, const mgTL2LPline &poly)
 string stream function [詳解]
 

詳解

mgTL2LPline is limitted subinterval of mgTL2Polyline.

mgTL2LPline is a proprietry class for Face tessellation. mgTL2LPline is used to save copy of mgTL2Polyline. mgTL2LPline is limitted subinterval of mgTL2Polyline, holds the starting id of mgTL2Polyline, and the number of vertices.

構築子と解体子

mgTL2LPline::mgTL2LPline ( )
inline

Default constructor.

mgTL2LPline::mgTL2LPline ( const mgTL2LPline lpline)
inline

Copy constructor.

mgTL2LPline::mgTL2LPline ( const mgTL2Polyline polyline)
inline
mgTL2LPline::mgTL2LPline ( const mgTL2Polyline polyline,
int  idS,
int  nV 
)
inline
mgTL2LPline::mgTL2LPline ( const mgTL2LPline lpline,
int  idS,
int  nV 
)

Construct from subinterval of input lpline.

関数詳解

bool mgTL2LPline::change_id ( int  id_in,
int &  id_out 
) const
mgTL2LPline* mgTL2LPline::clone ( ) const

Construct new curve object by copying to newed area. User must delete this copied object by "delete".

MGVector mgTL2LPline::eval ( double  t,
int  nderi = 0 
) const
bool mgTL2LPline::get_id_from_VertexID ( int  i,
short  id[3] 
) const
std::auto_ptr<mgTL2Polyline> mgTL2LPline::getPolygonizedMidLine ( const mgTL2LPline lp2,
int &  id0,
int &  id2 
) const

Get the midline from this->uv(id0) to lp2.uv(id2).

bool mgTL2LPline::is_null ( ) const
inline

Test if this is a null LPline.

int mgTL2LPline::isectSlTl ( const MGStraight sl) const
mgTL2LPline& mgTL2LPline::limit ( int  idS,
int  nV 
)

Limitting is done at the knot parameter for both start and end.

void mgTL2LPline::mid ( MGPosition uvmid)
int mgTL2LPline::number_of_points ( ) const
std::ostream& mgTL2LPline::out ( std::ostream &  ostrm) const

Debug Function.

std::auto_ptr<mgTL2Polyline> mgTL2LPline::polygonizeSL ( const mgTL2LPline pline2,
int  id1V,
int  id2V 
) const
void mgTL2LPline::reverse ( )
void mgTL2LPline::setNull ( )
void mgTL2LPline::subdivide ( int  id,
mgTL2LPline lp1,
mgTL2LPline lp2 
) const
const mgTL2parameter& mgTL2LPline::TL2param ( ) const
inline
const mgTL2Polyline* mgTL2LPline::TL2Polyline ( ) const
inline
MGPosition mgTL2LPline::uv ( int  i) const
MGPosition mgTL2LPline::xyz ( int  i,
bool  need_normal = false 
) const

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

std::ostream& operator<< ( std::ostream &  ot,
const mgTL2LPline poly 
)
friend

string stream function


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