MGCL V10  V10
MGCL V10
 全て クラス 名前空間 関数 変数 型定義 列挙型 列挙値 フレンド グループ ページ
igespd128.h
1 /********************************************************************/
2 /* Copyright (c) 2015 DG Technologies Inc. and Yuzi Mizuno */
3 /* All rights reserved. */
4 /********************************************************************/
5 #if !defined( __MGIGESPD128_H__)
6 #define __MGIGESPD128_H__
7 
8 #include <vector>
9 #include "mg/Position.h"
10 #include "mg/KnotVector.h"
11 #include "mg/SPointSeq.h"
12 #include "mgiges/IgesPD.h"
13 
15 class MGIgesPD128: public MGIgesPD{
16 public:
17  // Constructors.
18 
21 
23  MGIgesPD128(const MGSBRep& sb);
24 
26  MGIgesPD128(const MGRSBRep& sb);
27 
30 
32  void read_in(
33  char pDelimeter,
34  std::istringstream& pdstream
35  );
36 
44  const MGIgesGSec& gsec,
45  MGPvector<std::string>& plines
46  )const;
47 
49 
54 
56  int m_upper_indexV;
58  int m_degreeU;
60  int m_degreeV;
62  short m_closedU;
64  short m_closedV;
66  short m_periodicU;
67  short m_periodicV;
79 };
82 
83 #endif // __MGIGESPD128_H__
short m_closedU
=0:open , =1:closed curve, along the parameter u;
Definition: igespd128.h:63
short m_periodicU
=0:nonperiodic, =1:periodic, along the parameter u;
Definition: igespd128.h:66
MGKnotVector m_knotsU
Knot vector of length (nBrepU+orderU).
Definition: igespd128.h:68
void read_in(char pDelimeter, std::istringstream &pdstream)
Read in parameter data from string stream data.
const MGIgesDirectoryEntry * DEpointer() const
Definition: igesPD.h:39
int m_degreeV
Definition: igespd128.h:61
MGSPointSeq m_weights
Definition: igespd128.h:70
MGIgesPD128 is the class for Iges parameter data type 128(NURBS Surface).
Definition: igespd128.h:15
short m_non_rational
=0:rational, =1:non rational;
Definition: igespd128.h:65
MGIgesDirectoryEntry describes a directory entry section of an IGES file.
Definition: IgesDirectoryEntry.h:20
MGIgesPD128(MGIgesDirectoryEntry *DEpointer=0)
Constructs an object of class MGIgesPD128.
MGKnotVector m_knotsV
Knot vector of length (nBrepV+orderV).
Definition: igespd128.h:69
double m_end_paramV
Definition: igespd128.h:78
MGIgesPD is the parent class of all the Parameter data section type.
Definition: igesPD.h:17
~MGIgesPD128()
Destructor;.
Definition: igespd128.h:29
double m_end_paramU
Definition: igespd128.h:75
Defines Knot vector of B-Representation.
Definition: KnotVector.h:28
short m_closedV
=0:open , =1:closed curve, along the parameter v;
Definition: igespd128.h:64
MGSPointSeq m_control_points
m_control_points[i+nBrepU*j] for 0<=i<=nBrepU-1, 0<=j<=nBrepV-1.
Definition: igespd128.h:73
double m_start_paramV
Definition: igespd128.h:78
MGIgesGSec describes a Global Section of a IGES file.
Definition: IgesGSec.h:18
Defines Surface B-Representation of rational form.
Definition: RSBRep.h:38
double m_start_paramU
Definition: igespd128.h:75
Defines Surface B-Representation, that is , B-Spline surface.
Definition: SBRep.h:48
void write_out_into_string(const MGIgesGSec &gsec, MGPvector< std::string > &plines) const
int m_degreeU
Definition: igespd128.h:59
int m_upper_indexU
Member data.
Definition: igespd128.h:55
Defines Spoint seq of a space dimension and of a size.
Definition: SPointSeq.h:36
int m_upper_indexV
that is, m_upper_indexV=nBrepV-1.
Definition: igespd128.h:57
short m_periodicV
=0:nonperiodic, =1:periodic, along the parameter v;
Definition: igespd128.h:67
Defines Vector of newed object pointers.
Definition: Pvector.h:27