MGCL V10  V10
MGCL V10
 全て クラス 名前空間 関数 変数 型定義 列挙型 列挙値 フレンド グループ ページ
igespd126.h
1 /********************************************************************/
2 /* Copyright (c) 2015 DG Technologies Inc. and Yuzi Mizuno */
3 /* All rights reserved. */
4 /********************************************************************/
5 #if !defined( __MGIGESPD126_H__)
6 #define __MGIGESPD126_H__
7 
8 #include "mg/Position.h"
9 #include "mg/LBRep.h"
10 #include "mgiges/IgesPD.h"
11 
13 class MGIgesPD126: public MGIgesPD{
14 public:
15  // Constructors.
16 
19 
21  MGIgesPD126(const MGLBRep& lb);
22 
24  MGIgesPD126(const MGRLBRep& lb);
25 
28 
30  void read_in(
31  char pDelimeter,
32  std::istringstream& pdstream
33  );
34 
42  const MGIgesGSec& gsec,
43  MGPvector<std::string>& plines
44  )const;
45 
46 //Member data.
47 
50 
52  int m_degree;
53  short m_planar;
54  short m_closed;
56  short m_periodic;
58  std::vector<double> m_weights;
61  double m_normal[3];
64 };
65 
66 #endif // __MGIGESPD126_H__
short m_non_rational
=0:rational, =1:non rational;
Definition: igespd126.h:55
MGKnotVector m_knots
Knot vector of length (nBrep+order).
Definition: igespd126.h:57
short m_periodic
=0:nonperiodic, =1:periodic;
Definition: igespd126.h:56
short m_closed
=0:open curve, =1:closed curve;
Definition: igespd126.h:54
const MGIgesDirectoryEntry * DEpointer() const
Definition: igesPD.h:39
void read_in(char pDelimeter, std::istringstream &pdstream)
Read in parameter data from string stream data.
int m_upper_index
Upper index of sum, that is, m_upper_index=nBrep-1.
Definition: igespd126.h:51
double m_start_param
Definition: igespd126.h:60
MGLBRep is a class for B-SPline representation.
Definition: LBRep.h:41
MGIgesDirectoryEntry describes a directory entry section of an IGES file.
Definition: IgesDirectoryEntry.h:20
std::vector< double > m_weights
Weight vector of length nBrep.
Definition: igespd126.h:58
double m_end_param
Definition: igespd126.h:60
MGIgesPD is the parent class of all the Parameter data section type.
Definition: igesPD.h:17
MGIgesPD126 is the class for Iges parameter data type 126(NURBS).
Definition: igespd126.h:13
Defines Knot vector of B-Representation.
Definition: KnotVector.h:28
~MGIgesPD126()
Destructor;.
Definition: igespd126.h:27
Defines BPoint seq of a space dimension and of a capacity.
Definition: BPointSeq.h:38
int m_degree
Degree of the NURBS, that is, m_degree=order-1.
Definition: igespd126.h:52
Defines Rational Line B-Representation.
Definition: RLBRep.h:32
MGIgesPD126(MGIgesDirectoryEntry *DEpointer=0)
Constructs an object of class MGIgesPD126.
MGBPointSeq m_control_points
Control points of length nBrep.
Definition: igespd126.h:59
short m_planar
=0:nonplanar, =1:planar;
Definition: igespd126.h:53
MGIgesGSec describes a Global Section of a IGES file.
Definition: IgesGSec.h:18
void write_out_into_string(const MGIgesGSec &gsec, MGPvector< std::string > &plines) const
Defines Vector of newed object pointers.
Definition: Pvector.h:27
double m_normal[3]
Normal vector of the plane if the NURBS is planar.
Definition: igespd126.h:63