CFx SDK Documentation  2022 SP0
GeExternalBoundedSurface.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, Open Design Alliance (the "Alliance").
3 // All rights reserved.
4 //
5 // This software and its documentation and related materials are owned by
6 // the Alliance. The software may only be incorporated into application
7 // programs owned by members of the Alliance, subject to a signed
8 // Membership Agreement and Supplemental Software License Agreement with the
9 // Alliance. The structure and organization of this software are the valuable
10 // trade secrets of the Alliance and its suppliers. The software is also
11 // protected by copyright law and international treaty provisions. Application
12 // programs incorporating this software must include the following statement
13 // with their copyright notices:
14 //
15 // This application incorporates Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 by Open Design Alliance.
18 // All rights reserved.
19 //
20 // By use of this software, its documentation or related materials, you
21 // acknowledge and accept the above terms.
23 
24 #ifndef OD_GEXBNDSF_H
25 #define OD_GEXBNDSF_H
28 class OdGeCurveBoundary;
29 #include "Ge/GeSurface.h"
30 
31 #include "TD_PackPush.h"
32 
52 {
53 public:
54 
55 
72  void* pSurfaceDef,
73  OdGe::ExternalEntityKind surfaceKind,
74  bool makeCopy = true);
77 
78  // Surface data.
79  //
80 
92 
96  bool isDefined() const;
97 
107  void*& pSurfaceDef) const;
108 
109  // Odcess to unbounded surface.
110  //
111 
122  OdGeSurface*& pSurfaceDef) const;
123 
130  OdGeExternalSurface& unboundedSurfaceDef) const;
131 
132  // Type queries on the unbounded base surface.
133 
137  bool isPlane() const;
138 
142  bool isSphere() const;
143 
147  bool isCylinder() const;
148 
152  bool isCone() const;
153 
157  bool isEllipCylinder() const;
158 
162  bool isEllipCone() const;
163 
164 
168  bool isTorus() const;
169 
173  bool isNurbs() const;
174 
178  bool isExternalSurface() const;
179 
180  // Odcess to the boundary data.
181  //
182 
186  int numContours() const;
187 
195  int& numContours,
196  OdGeCurveBoundary*& contours) const;
197 
198  // Set methods
199  //
200 
210  void* pSurfaceDef,
211  OdGe::ExternalEntityKind surfaceKind,
212  bool makeCopy = true);
213 
214  // Surface ownership.
215  //
216 
224  bool isOwnerOfSurface() const;
225 
234 
235  // Assignment operator.
236  //
238  const OdGeExternalBoundedSurface& extBoundSurf);
239 
240 };
241 
242 #include "TD_PackPop.h"
243 
244 #endif // OD_GEXBNDSF_H
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
OdGeExternalBoundedSurface & setToOwnSurface()
OdGe::ExternalEntityKind externalSurfaceKind() const
OdGeExternalBoundedSurface(void *pSurfaceDef, OdGe::ExternalEntityKind surfaceKind, bool makeCopy=true)
OdGeExternalBoundedSurface(const OdGeExternalBoundedSurface &source)
void getExternalSurface(void *&pSurfaceDef) const
void getBaseSurface(OdGeExternalSurface &unboundedSurfaceDef) const
void getContours(int &numContours, OdGeCurveBoundary *&contours) const
void getBaseSurface(OdGeSurface *&pSurfaceDef) const
bool isExternalSurface() const
OdGeExternalBoundedSurface & set(void *pSurfaceDef, OdGe::ExternalEntityKind surfaceKind, bool makeCopy=true)
OdGeSurface & operator=(const OdGeSurface &surf)
GLsizei GLsizei GLchar * source
Definition: gles2_ext.h:282
ExternalEntityKind
Definition: Ge.h:152