CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
GeCurveBoundary.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
25#ifndef OD_GE_CURVE_BOUNDARY_H
26#define OD_GE_CURVE_BOUNDARY_H
28#include "Ge/GeEntity3d.h"
29
30class OdGeCurve2d;
31class OdGeEntity3d;
32class OdGePosition3d;
33
34#include "TD_PackPush.h"
77{
78public:
79
84
96 int numCurves,
97 const OdGeEntity3d *const * crv3d,
98 const OdGeCurve2d *const * crv2d,
99 bool* orientation3d,
100 bool* orientation2d,
101 bool makeCopy = true);
102
109
114
122 OdGeCurveBoundary& operator =(
123 const OdGeCurveBoundary& crvBoundary);
124
125 // Query the data.
126 //
127
135 bool isDegenerate() const;
136
151 OdGePosition3d& degenPoint,
152 OdGeCurve2d** paramCurve) const;
153
157 int numElements() const;
158
173 int& numCurves,
174 OdGeEntity3d*** crv3d,
175 OdGeCurve2d*** crv2d,
176 bool** orientation3d,
177 bool** orientation2d) const;
178
190 int numCurves,
191 const OdGeEntity3d *const * crv3d,
192 const OdGeCurve2d *const * crv2d,
193 bool* orientation3d,
194 bool* orientation2d,
195 bool makeCopy = true);
196
197 // Curve ownership.
198 //
199
206 bool isOwnerOfCurves() const;
207
216
217protected:
224};
225
226#include "TD_PackPop.h"
227
228#endif // OD_GE_CURVE_BOUNDARY_H
229
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
bool isDegenerate(OdGePosition3d &degenPoint, OdGeCurve2d **paramCurve) const
OdGeCurveBoundary & set(int numCurves, const OdGeEntity3d *const *crv3d, const OdGeCurve2d *const *crv2d, bool *orientation3d, bool *orientation2d, bool makeCopy=true)
OdGeCurve2d ** m_pArrCrv2d
OdGeCurveBoundary(int numCurves, const OdGeEntity3d *const *crv3d, const OdGeCurve2d *const *crv2d, bool *orientation3d, bool *orientation2d, bool makeCopy=true)
void getContour(int &numCurves, OdGeEntity3d ***crv3d, OdGeCurve2d ***crv2d, bool **orientation3d, bool **orientation2d) const
bool isOwnerOfCurves() const
OdGeCurveBoundary & setToOwnCurves()
OdGeEntity3d ** m_pArrCrv3d
OdGeCurveBoundary(const OdGeCurveBoundary &source)
bool isDegenerate() const
int numElements() const
GLsizei GLsizei GLchar * source
Definition: gles2_ext.h:282