CFx SDK Documentation  2023 SP0
GePointOnCurve2d.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_POINT_ON_CURVE_2D_H
26 #define OD_GE_POINT_ON_CURVE_2D_H
28 #include "Ge/GePointEnt2d.h"
29 class OdGeCurve2d;
30 
31 #include "TD_PackPush.h"
32 
48 {
49 public:
50 
51 
60 
62  const OdGeCurve2d& curve2d,
63  double param = 0.0);
64 
66  const OdGePointOnCurve2d& source);
67 
69  const OdGePointOnCurve2d& pntOnCurve);
70 
74  const OdGeCurve2d* curve() const;
75 
79  double parameter() const;
80 
84  OdGePoint2d point() const;
85 
92  double param);
93 
101  const OdGeCurve2d& curve2d,
102  double param);
103 
113  int order) const;
114 
125  int order,
126  double param);
127 
139  int order,
140  const OdGeCurve2d& curve2d,
141  double param);
142 
153  const OdGeTol& tol = OdGeContext::gTol) const;
154 
155 
165  bool curvature(
166  double& res);
167 
178  bool curvature(
179  double param,
180  double& res);
181 
188  const OdGeCurve2d& curve2d);
189 
196  double param);
197 
198 };
199 
200 #include "TD_PackPop.h"
201 
202 #endif
203 
204 
tol
Definition: DimVarDefs.h:2287
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
OdGePointEnt2d & operator=(const OdGePointEnt2d &point)
OdGePointOnCurve2d(const OdGePointOnCurve2d &source)
OdGePoint2d point() const
OdGePointOnCurve2d & setCurve(const OdGeCurve2d &curve2d)
OdGeVector2d deriv(int order, double param)
OdGePoint2d point(double param)
bool curvature(double param, double &res)
const OdGeCurve2d * curve() const
OdGeVector2d deriv(int order, const OdGeCurve2d &curve2d, double param)
double parameter() const
OdGePointOnCurve2d & setParameter(double param)
OdGePoint2d point(const OdGeCurve2d &curve2d, double param)
bool curvature(double &res)
OdGeVector2d deriv(int order) const
OdGePointOnCurve2d(const OdGeCurve2d &curve2d, double param=0.0)
bool isSingular(const OdGeTol &tol=OdGeContext::gTol) const
Definition: GeTol.h:49
GLsizei GLsizei GLchar * source
Definition: gles2_ext.h:282
static GE_STATIC_EXPORT OdGeTol gTol
Definition: GeGbl.h:60