CFx SDK Documentation  2023 SP0
GeExternalCurve3d.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 #ifndef OD_GEEXTC3D_H
25 #define OD_GEEXTC3D_H
27 class OdGeLine3d;
28 class OdGeLineSeg3d;
29 class OdGeRay3d;
30 class OdGeEllipArc3d;
31 class OdGeNurbCurve3d;
32 
33 #include "Ge/GeCurve3d.h"
34 
35 #include "TD_PackPush.h"
36 
53 {
54 public:
55 
56 
75  void* pCurveDef,
76  OdGe::ExternalEntityKind curveKind,
77  bool makeCopy = true);
78 
82  bool isLine() const;
83 
87  bool isRay() const;
88 
92  bool isLineSeg() const;
93 
97  bool isCircArc() const;
98 
102  bool isEllipArc() const;
103 
107  bool isNurbCurve() const;
108 
112  bool isDefined() const;
113 
124  OdGeCurve3d*& nativeCurve) const;
125 
135  void*& pCurveDef) const;
136 
148 
158  void* pCurveDef,
159  OdGe::ExternalEntityKind curveKind,
160  bool makeCopy = true);
161 
163  const OdGeExternalCurve3d& extCurve);
164 
172  bool isOwnerOfCurve() const;
173 
182 
183 };
184 
185 #include "TD_PackPop.h"
186 
187 #endif // OD_GEEXTC3D_H
188 
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
OdGeCurve3d & operator=(const OdGeCurve3d &curve)
OdGe::ExternalEntityKind externalCurveKind() const
bool isCircArc() const
bool isDefined() const
bool isLine() const
OdGeExternalCurve3d & set(void *pCurveDef, OdGe::ExternalEntityKind curveKind, bool makeCopy=true)
bool isNativeCurve(OdGeCurve3d *&nativeCurve) const
OdGeExternalCurve3d(void *pCurveDef, OdGe::ExternalEntityKind curveKind, bool makeCopy=true)
bool isRay() const
void getExternalCurve(void *&pCurveDef) const
OdGeExternalCurve3d(const OdGeExternalCurve3d &source)
bool isOwnerOfCurve() const
bool isEllipArc() const
bool isNurbCurve() const
OdGeExternalCurve3d & setToOwnCurve()
bool isLineSeg() const
GLsizei GLsizei GLchar * source
Definition: gles2_ext.h:282
ExternalEntityKind
Definition: Ge.h:153