CFx SDK Documentation  2020SP3
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 
OdGeCurveBoundary::m_iNumCurves
int m_iNumCurves
Definition: GeCurveBoundary.h:191
OdGeCurve2d
Definition: GeCurve2d.h:53
source
GLsizei GLsizei GLchar * source
Definition: gles2_ext.h:282
OdGeCurveBoundary::isDegenerate
bool isDegenerate(OdGePosition3d &degenPoint, OdGeCurve2d **paramCurve) const
OdGeCurveBoundary::m_bMakeCopy
bool m_bMakeCopy
Definition: GeCurveBoundary.h:196
TD_PackPop.h
OdGeCurveBoundary::set
OdGeCurveBoundary & set(int numCurves, const OdGeEntity3d *const *crv3d, const OdGeCurve2d *const *crv2d, bool *orientation3d, bool *orientation2d, bool makeCopy=true)
OdGeCurveBoundary::m_pArrCrv2d
OdGeCurve2d ** m_pArrCrv2d
Definition: GeCurveBoundary.h:193
OdGeCurveBoundary::OdGeCurveBoundary
OdGeCurveBoundary(const OdGeCurveBoundary &source)
OdGeCurveBoundary::OdGeCurveBoundary
OdGeCurveBoundary()
OdGeCurveBoundary::setToOwnCurves
OdGeCurveBoundary & setToOwnCurves()
OdGeCurveBoundary::isDegenerate
bool isDegenerate() const
OdGeCurveBoundary::getContour
void getContour(int &numCurves, OdGeEntity3d ***crv3d, OdGeCurve2d ***crv2d, bool **orientation3d, bool **orientation2d) const
TD_PackPush.h
GE_TOOLKIT_EXPORT
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
OdGeCurveBoundary::~OdGeCurveBoundary
~OdGeCurveBoundary()
OdGeCurveBoundary::m_bArrOrientation2d
bool * m_bArrOrientation2d
Definition: GeCurveBoundary.h:195
OdGeCurveBoundary
Definition: GeCurveBoundary.h:77
OdGePosition3d
Definition: GePosition3d.h:42
OdGeCurveBoundary::m_pArrCrv3d
OdGeEntity3d ** m_pArrCrv3d
Definition: GeCurveBoundary.h:192
OdGeCurveBoundary::numElements
int numElements() const
OdGeCurveBoundary::m_bArrOrientation3d
bool * m_bArrOrientation3d
Definition: GeCurveBoundary.h:194
OdGeCurveBoundary::isOwnerOfCurves
bool isOwnerOfCurves() const
OdGeCurveBoundary::OdGeCurveBoundary
OdGeCurveBoundary(int numCurves, const OdGeEntity3d *const *crv3d, const OdGeCurve2d *const *crv2d, bool *orientation3d, bool *orientation2d, bool makeCopy=true)
OdGeEntity3d
Definition: GeEntity3d.h:46