CFx SDK Documentation  2020SP3
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
27 class OdGeExternalSurface;
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
OdGeSurface
Definition: GeSurface.h:48
OdGeExternalBoundedSurface::isEllipCylinder
bool isEllipCylinder() const
OdGeExternalBoundedSurface::isEllipCone
bool isEllipCone() const
OdGeExternalBoundedSurface::isNurbs
bool isNurbs() const
OdGeExternalBoundedSurface::isTorus
bool isTorus() const
GeSurface.h
OdGeSurface::operator=
OdGeSurface & operator=(const OdGeSurface &surf)
source
GLsizei GLsizei GLchar * source
Definition: gles2_ext.h:282
OdGeExternalBoundedSurface::isSphere
bool isSphere() const
OdGeExternalSurface
Definition: GeExternalSurface.h:56
TD_PackPop.h
OdGeExternalBoundedSurface::isOwnerOfSurface
bool isOwnerOfSurface() const
OdGeExternalBoundedSurface::set
OdGeExternalBoundedSurface & set(void *pSurfaceDef, OdGe::ExternalEntityKind surfaceKind, bool makeCopy=true)
OdGeExternalBoundedSurface::getBaseSurface
void getBaseSurface(OdGeSurface *&pSurfaceDef) const
OdGeExternalBoundedSurface::OdGeExternalBoundedSurface
OdGeExternalBoundedSurface(void *pSurfaceDef, OdGe::ExternalEntityKind surfaceKind, bool makeCopy=true)
OdGeExternalBoundedSurface::getContours
void getContours(int &numContours, OdGeCurveBoundary *&contours) const
OdGeExternalBoundedSurface
Definition: GeExternalBoundedSurface.h:52
OdGeExternalBoundedSurface::getBaseSurface
void getBaseSurface(OdGeExternalSurface &unboundedSurfaceDef) const
OdGeExternalBoundedSurface::getExternalSurface
void getExternalSurface(void *&pSurfaceDef) const
OdGeExternalBoundedSurface::isDefined
bool isDefined() const
OdGeExternalBoundedSurface::setToOwnSurface
OdGeExternalBoundedSurface & setToOwnSurface()
OdGeExternalBoundedSurface::isCylinder
bool isCylinder() const
OdGeExternalBoundedSurface::isExternalSurface
bool isExternalSurface() const
OdGe::ExternalEntityKind
ExternalEntityKind
Definition: Ge.h:152
TD_PackPush.h
OdGeExternalBoundedSurface::OdGeExternalBoundedSurface
OdGeExternalBoundedSurface(const OdGeExternalBoundedSurface &source)
GE_TOOLKIT_EXPORT
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
OdGeExternalBoundedSurface::numContours
int numContours() const
OdGeCurveBoundary
Definition: GeCurveBoundary.h:77
OdGeExternalBoundedSurface::externalSurfaceKind
OdGe::ExternalEntityKind externalSurfaceKind() const
OdGeExternalBoundedSurface::OdGeExternalBoundedSurface
OdGeExternalBoundedSurface()
OdGeExternalBoundedSurface::isPlane
bool isPlane() const
OdGeExternalBoundedSurface::isCone
bool isCone() const