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

MGIgesPD126 is the class for Iges parameter data type 126(NURBS). [詳解]

MGIgesPD126 の継承関係図
MGIgesPD

公開メンバ関数

 MGIgesPD126 (MGIgesDirectoryEntry *DEpointer=0)
 Constructs an object of class MGIgesPD126. [詳解]
 
 MGIgesPD126 (const MGLBRep &lb)
 Constructs an object of class MGIgesPD126. [詳解]
 
 MGIgesPD126 (const MGRLBRep &lb)
 Constructs an object of class MGIgesPD126. [詳解]
 
 ~MGIgesPD126 ()
 Destructor;. [詳解]
 
void read_in (char pDelimeter, std::istringstream &pdstream)
 Read in parameter data from string stream data. [詳解]
 
void write_out_into_string (const MGIgesGSec &gsec, MGPvector< std::string > &plines) const
 
- 基底クラス MGIgesPD に属する継承公開メンバ関数
 MGIgesPD ()
 Constructors. [詳解]
 
 MGIgesPD (int type_number, MGIgesDirectoryEntry *DEpointer=0)
 Default constructor. [詳解]
 
virtual ~MGIgesPD ()
 Destructor;. [詳解]
 
void setDE (MGIgesDirectoryEntry *DE)
 
int type_number () const
 
const MGIgesDirectoryEntryDEpointer () const
 
MGIgesDirectoryEntryDEpointer ()
 

公開変数類

int m_upper_index
 Upper index of sum, that is, m_upper_index=nBrep-1. [詳解]
 
int m_degree
 Degree of the NURBS, that is, m_degree=order-1. [詳解]
 
short m_planar
 =0:nonplanar, =1:planar; [詳解]
 
short m_closed
 =0:open curve, =1:closed curve; [詳解]
 
short m_non_rational
 =0:rational, =1:non rational; [詳解]
 
short m_periodic
 =0:nonperiodic, =1:periodic; [詳解]
 
MGKnotVector m_knots
 Knot vector of length (nBrep+order). [詳解]
 
std::vector< double > m_weights
 Weight vector of length nBrep. [詳解]
 
MGBPointSeq m_control_points
 Control points of length nBrep. [詳解]
 
double m_start_param
 
double m_end_param
 
double m_normal [3]
 Normal vector of the plane if the NURBS is planar. [詳解]
 

詳解

MGIgesPD126 is the class for Iges parameter data type 126(NURBS).

構築子と解体子

MGIgesPD126::MGIgesPD126 ( MGIgesDirectoryEntry DEpointer = 0)

Constructs an object of class MGIgesPD126.

MGIgesPD126::MGIgesPD126 ( const MGLBRep lb)

Constructs an object of class MGIgesPD126.

MGIgesPD126::MGIgesPD126 ( const MGRLBRep lb)

Constructs an object of class MGIgesPD126.

MGIgesPD126::~MGIgesPD126 ( )
inline

Destructor;.

関数詳解

void MGIgesPD126::read_in ( char  pDelimeter,
std::istringstream &  pdstream 
)
virtual

Read in parameter data from string stream data.

MGIgesPDを実装しています。

void MGIgesPD126::write_out_into_string ( const MGIgesGSec gsec,
MGPvector< std::string > &  plines 
) const
virtual

Write out this PD as MGIgesParamLine's(into plines). Except for string data, one integer or double data is output into one MGIgesParamLine, not striding over more than one line. Only when string data is output(to Holleris string), the data may stride over more than one lines. plines[i] for 0<=i<plines.size() are valid.

引数
gsecInput gsec to input delimeter_param and delimeter_record;
plinesoutput plines.

MGIgesPDを実装しています。

メンバ詳解

short MGIgesPD126::m_closed

=0:open curve, =1:closed curve;

MGBPointSeq MGIgesPD126::m_control_points

Control points of length nBrep.

int MGIgesPD126::m_degree

Degree of the NURBS, that is, m_degree=order-1.

double MGIgesPD126::m_end_param

Starting and ending parameters, that is, m_start_param=m_knots[m_degree], or m_start_param=m_knots[order-1]. m_end_param=m_knots[nBrep],

MGKnotVector MGIgesPD126::m_knots

Knot vector of length (nBrep+order).

short MGIgesPD126::m_non_rational

=0:rational, =1:non rational;

double MGIgesPD126::m_normal[3]

Normal vector of the plane if the NURBS is planar.

short MGIgesPD126::m_periodic

=0:nonperiodic, =1:periodic;

short MGIgesPD126::m_planar

=0:nonplanar, =1:planar;

double MGIgesPD126::m_start_param
int MGIgesPD126::m_upper_index

Upper index of sum, that is, m_upper_index=nBrep-1.

Here we denote nBrep=m_upper_index+1, order=m_degree+1 (nBrep is B-Representation dimension of B-Spline).

std::vector<double> MGIgesPD126::m_weights

Weight vector of length nBrep.


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