CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
GeExternalBoundedSurface.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, 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 Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2022 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
29#include "Ge/GeSurface.h"
30
31#include "TD_PackPush.h"
32
52{
53public:
73 void* pSurfaceDef,
74 OdGe::ExternalEntityKind surfaceKind,
75 bool makeCopy = true);
76
84
85 // Surface data.
86 //
87
99
103 bool isDefined() const;
104
114 void*& pSurfaceDef) const;
115
116 // Odcess to unbounded surface.
117 //
118
129 OdGeSurface*& pSurfaceDef) const;
130
137 OdGeExternalSurface& unboundedSurfaceDef) const;
138
139 // Type queries on the unbounded base surface.
140
144 bool isPlane() const;
145
149 bool isSphere() const;
150
154 bool isCylinder() const;
155
159 bool isCone() const;
160
164 bool isEllipCylinder() const;
165
169 bool isEllipCone() const;
170
171
175 bool isTorus() const;
176
180 bool isNurbs() const;
181
185 bool isExternalSurface() const;
186
187 // Odcess to the boundary data.
188 //
189
193 int numContours() const;
194
202 int& numContours,
203 OdGeCurveBoundary*& contours) const;
204
205 // Set methods
206 //
207
217 void* pSurfaceDef,
218 OdGe::ExternalEntityKind surfaceKind,
219 bool makeCopy = true);
220
221 // Surface ownership.
222 //
223
231 bool isOwnerOfSurface() const;
232
241
251 const OdGeExternalBoundedSurface& extBoundSurf);
252
253};
254
255#include "TD_PackPop.h"
256
257#endif // OD_GEXBNDSF_H
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
OdGe::ExternalEntityKind externalSurfaceKind() const
OdGeExternalBoundedSurface & set(void *pSurfaceDef, OdGe::ExternalEntityKind surfaceKind, bool makeCopy=true)
OdGeExternalBoundedSurface(void *pSurfaceDef, OdGe::ExternalEntityKind surfaceKind, bool makeCopy=true)
OdGeExternalBoundedSurface(const OdGeExternalBoundedSurface &source)
void getExternalSurface(void *&pSurfaceDef) const
OdGeExternalBoundedSurface & setToOwnSurface()
void getBaseSurface(OdGeExternalSurface &unboundedSurfaceDef) const
void getContours(int &numContours, OdGeCurveBoundary *&contours) const
void getBaseSurface(OdGeSurface *&pSurfaceDef) const
bool isExternalSurface() const
OdGeSurface & operator=(const OdGeSurface &surf)
GLsizei GLsizei GLchar * source
Definition: gles2_ext.h:282
ExternalEntityKind
Definition: Ge.h:260