libsurf
Programmer's Documentation

iges144.h (r6227/r5385)
1 
2 /* Copyright (C) 2015 David Eller <david@larosterna.com>
3  *
4  * Commercial License Usage
5  * Licensees holding valid commercial licenses may use this file in accordance
6  * with the terms contained in their respective non-exclusive license agreement.
7  * For further information contact david@larosterna.com .
8  *
9  * GNU General Public License Usage
10  * Alternatively, this file may be used under the terms of the GNU General
11  * Public License version 3.0 as published by the Free Software Foundation and
12  * appearing in the file gpl.txt included in the packaging of this file.
13  */
14 
15 #ifndef SURF_IGES144_H
16 #define SURF_IGES144_H
17 
18 #include "igesentity.h"
19 #include <genua/dvector.h>
20 #include <genua/point.h>
21 
39 {
40 public:
41 
43  IgesTrimmedSurface() : IgesEntity(144), pts(0), n1(0), n2(0), pto(0) {}
44 
46  void definition(IgesFile & file);
47 
49  uint parse(const std::string & pds, const Indices & vpos);
50 
51 public:
52 
54  uint pts;
55 
57  uint n1;
58 
60  uint n2;
61 
63  uint pto;
64 
66  Indices pti;
67 };
68 
69 #endif // IGES128_H
70 
uint pts
pointer to the parametric surface to be trimmed
Definition: iges144.h:54
Indices pti
pointer to inner boundaries, or empty
Definition: iges144.h:66
uint pto
pointer to the outer boundary curve, or zero if n1 == 0
Definition: iges144.h:63
Base class for entities in IGES files.
Definition: igesentity.h:32
uint n1
zero if the outer boundary is the domain boundary of pts, otherwise one
Definition: iges144.h:57
IgesTrimmedSurface()
create undefined
Definition: iges144.h:43
IGES 144 : Trimmed surface.
Definition: iges144.h:38
uint parse(const std::string &pds, const Indices &vpos)
parse entity data
Definition: iges144.cpp:32
Main interface to IGES files.
Definition: igesfile.h:32
void definition(IgesFile &file)
assemble definition
Definition: iges144.cpp:20
uint n2
number of internal boundaries (or zero)
Definition: iges144.h:60
Generated on Wed Jan 19 2022 03:03:15 for libsurf by   doxygen 1.8.5