CFx SDK Documentation  2022 SP0
GeCurveBoundary.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 
25 #ifndef OD_GE_CURVE_BOUNDARY_H
26 #define OD_GE_CURVE_BOUNDARY_H
28 #include "Ge/GeEntity3d.h"
29 
30 class OdGeCurve2d;
31 class OdGeEntity3d;
32 class OdGePosition3d;
33 
34 #include "TD_PackPush.h"
77 {
78 public:
89  int numCurves,
90  const OdGeEntity3d *const * crv3d,
91  const OdGeCurve2d *const * crv2d,
92  bool* orientation3d,
93  bool* orientation2d,
94  bool makeCopy = true);
96 
98 
99  OdGeCurveBoundary& operator =(
100  const OdGeCurveBoundary& crvBoundary);
101 
102  // Query the data.
103  //
104 
111  bool isDegenerate() const;
112 
126  OdGePosition3d& degenPoint,
127  OdGeCurve2d** paramCurve) const;
128 
132  int numElements() const;
133 
148  int& numCurves,
149  OdGeEntity3d*** crv3d,
150  OdGeCurve2d*** crv2d,
151  bool** orientation3d,
152  bool** orientation2d) const;
153 
165  int numCurves,
166  const OdGeEntity3d *const * crv3d,
167  const OdGeCurve2d *const * crv2d,
168  bool* orientation3d,
169  bool* orientation2d,
170  bool makeCopy = true);
171 
172  // Curve ownership.
173  //
174 
179  bool isOwnerOfCurves() const;
180 
189 
190 protected:
197 };
198 
199 #include "TD_PackPop.h"
200 
201 #endif // OD_GE_CURVE_BOUNDARY_H
202 
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
bool isDegenerate(OdGePosition3d &degenPoint, OdGeCurve2d **paramCurve) const
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
OdGeEntity3d ** m_pArrCrv3d
OdGeCurveBoundary & setToOwnCurves()
OdGeCurveBoundary(const OdGeCurveBoundary &source)
OdGeCurveBoundary & set(int numCurves, const OdGeEntity3d *const *crv3d, const OdGeCurve2d *const *crv2d, bool *orientation3d, bool *orientation2d, bool makeCopy=true)
bool isDegenerate() const
int numElements() const
GLsizei GLsizei GLchar * source
Definition: gles2_ext.h:282