CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
GeExternalBoundedSurface.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2024, 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-2024 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
26
29#include "Ge/GeSurface.h"
30
31#include "TD_PackPush.h"
32
52{
53public:
55
75 void* pSurfaceDef,
76 OdGe::ExternalEntityKind surfaceKind,
77 bool makeCopy = true);
78
86
87 // Surface data.
88 //
89
101
105 bool isDefined() const;
106
116 void*& pSurfaceDef) const;
117
118 // Odcess to unbounded surface.
119 //
120
131 OdGeSurface*& pSurfaceDef) const;
132
139 OdGeExternalSurface& unboundedSurfaceDef) const;
140
141 // Type queries on the unbounded base surface.
142
146 bool isPlane() const;
147
151 bool isSphere() const;
152
156 bool isCylinder() const;
157
161 bool isCone() const;
162
166 bool isEllipCylinder() const;
167
171 bool isEllipCone() const;
172
173
177 bool isTorus() const;
178
182 bool isNurbs() const;
183
187 bool isExternalSurface() const;
188
189 // Odcess to the boundary data.
190 //
191
195 int numContours() const;
196
204 int& numContours,
205 OdGeCurveBoundary*& contours) const;
206
207 // Set methods
208 //
209
219 void* pSurfaceDef,
220 OdGe::ExternalEntityKind surfaceKind,
221 bool makeCopy = true);
222
223 // Surface ownership.
224 //
225
233 bool isOwnerOfSurface() const;
234
243
253 const OdGeExternalBoundedSurface& extBoundSurf);
254
255};
256
257#include "TD_PackPop.h"
258
259#endif // OD_GEXBNDSF_H
#define GE_TOOLKIT_EXPORT
Definition GeExport.h:35
OdGe::ExternalEntityKind externalSurfaceKind() const
OdGeExternalBoundedSurface & set(void *pSurfaceDef, OdGe::ExternalEntityKind surfaceKind, bool makeCopy=true)
GE_OPERATORS_OVERRIDE_3D(OdGeExternalBoundedSurface)
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:262