CFx SDK Documentation
2026 SP0
Loading...
Searching...
No Matches
SDK
CFx
dd_inc
Ge
GePointOnCurve2d.h
Go to the documentation of this file.
1
2
// Copyright (C) 2002-2024, 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-2024 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
27
28
#include "
Ge/GePointEnt2d.h
"
29
class
OdGeCurve2d
;
30
31
#include "
TD_PackPush.h
"
32
47
class
GE_TOOLKIT_EXPORT
OdGePointOnCurve2d
:
public
OdGePointEnt2d
48
{
49
public
:
50
GE_OPERATORS_OVERRIDE_2D
(
OdGePointOnCurve2d
);
51
58
OdGePointOnCurve2d
();
59
69
OdGePointOnCurve2d
(
70
const
OdGeCurve2d
& curve2d,
71
double
param = 0.0);
72
78
OdGePointOnCurve2d
(
79
const
OdGePointOnCurve2d
&
source
);
80
89
OdGePointOnCurve2d
&
operator =
(
90
const
OdGePointOnCurve2d
& pntOnCurve);
91
95
const
OdGeCurve2d
*
curve
()
const
;
96
100
double
parameter
()
const
;
101
105
OdGePoint2d
point
()
const
;
106
112
OdGePoint2d
point
(
113
double
param);
114
121
OdGePoint2d
point
(
122
const
OdGeCurve2d
& curve2d,
123
double
param);
124
133
OdGeVector2d
deriv
(
134
int
order)
const
;
135
145
OdGeVector2d
deriv
(
146
int
order,
147
double
param);
148
159
OdGeVector2d
deriv
(
160
int
order,
161
const
OdGeCurve2d
& curve2d,
162
double
param);
163
170
bool
isSingular
(
171
const
OdGeTol
&
tol
=
OdGeContext::gTol
)
const
;
172
173
183
bool
curvature
(
184
double
& res);
185
196
bool
curvature
(
197
double
param,
198
double
& res);
199
205
OdGePointOnCurve2d
&
setCurve
(
206
const
OdGeCurve2d
& curve2d);
207
213
OdGePointOnCurve2d
&
setParameter
(
214
double
param);
215
216
};
217
218
#include "
TD_PackPop.h
"
219
220
#endif
221
222
tol
tol
Definition
DimVarDefs.h:2287
GE_TOOLKIT_EXPORT
#define GE_TOOLKIT_EXPORT
Definition
GeExport.h:35
GePointEnt2d.h
TD_PackPop.h
TD_PackPush.h
OdGeCurve2d
Definition
GeCurve2d.h:57
OdGePoint2d
Definition
GePoint2d.h:63
OdGePointEnt2d::operator=
OdGePointEnt2d & operator=(const OdGePointEnt2d &point)
OdGePointEnt2d::OdGePointEnt2d
OdGePointEnt2d()
OdGePointOnCurve2d::OdGePointOnCurve2d
OdGePointOnCurve2d(const OdGePointOnCurve2d &source)
OdGePointOnCurve2d::point
OdGePoint2d point() const
OdGePointOnCurve2d::deriv
OdGeVector2d deriv(int order, double param)
OdGePointOnCurve2d::point
OdGePoint2d point(double param)
OdGePointOnCurve2d::curvature
bool curvature(double param, double &res)
OdGePointOnCurve2d::setCurve
OdGePointOnCurve2d & setCurve(const OdGeCurve2d &curve2d)
OdGePointOnCurve2d::setParameter
OdGePointOnCurve2d & setParameter(double param)
OdGePointOnCurve2d::deriv
OdGeVector2d deriv(int order, const OdGeCurve2d &curve2d, double param)
OdGePointOnCurve2d::parameter
double parameter() const
OdGePointOnCurve2d::GE_OPERATORS_OVERRIDE_2D
GE_OPERATORS_OVERRIDE_2D(OdGePointOnCurve2d)
OdGePointOnCurve2d::point
OdGePoint2d point(const OdGeCurve2d &curve2d, double param)
OdGePointOnCurve2d::curvature
bool curvature(double &res)
OdGePointOnCurve2d::deriv
OdGeVector2d deriv(int order) const
OdGePointOnCurve2d::curve
const OdGeCurve2d * curve() const
OdGePointOnCurve2d::OdGePointOnCurve2d
OdGePointOnCurve2d(const OdGeCurve2d &curve2d, double param=0.0)
OdGePointOnCurve2d::isSingular
bool isSingular(const OdGeTol &tol=OdGeContext::gTol) const
OdGePointOnCurve2d::OdGePointOnCurve2d
OdGePointOnCurve2d()
OdGeTol
Definition
GeTol.h:49
OdGeVector2d
Definition
GeVector2d.h:51
source
GLsizei GLsizei GLchar * source
Definition
gles2_ext.h:282
OdGeContext::gTol
static GE_STATIC_EXPORT OdGeTol gTol
Definition
GeGbl.h:67
Generated on Tue Apr 15 2025 11:30:00