CFx SDK Documentation
2024 SP0
Loading...
Searching...
No Matches
SDK
CFx
dd_inc
Ge
GePointOnCurve2d.h
Go to the documentation of this file.
1
2
// Copyright (C) 2002-2022, 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-2022 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
47
class
GE_TOOLKIT_EXPORT
OdGePointOnCurve2d
:
public
OdGePointEnt2d
48
{
49
public
:
50
57
OdGePointOnCurve2d
();
58
68
OdGePointOnCurve2d
(
69
const
OdGeCurve2d
& curve2d,
70
double
param = 0.0);
71
77
OdGePointOnCurve2d
(
78
const
OdGePointOnCurve2d
&
source
);
79
88
OdGePointOnCurve2d
&
operator =
(
89
const
OdGePointOnCurve2d
& pntOnCurve);
90
94
const
OdGeCurve2d
*
curve
()
const
;
95
99
double
parameter
()
const
;
100
104
OdGePoint2d
point
()
const
;
105
111
OdGePoint2d
point
(
112
double
param);
113
120
OdGePoint2d
point
(
121
const
OdGeCurve2d
& curve2d,
122
double
param);
123
132
OdGeVector2d
deriv
(
133
int
order)
const
;
134
144
OdGeVector2d
deriv
(
145
int
order,
146
double
param);
147
158
OdGeVector2d
deriv
(
159
int
order,
160
const
OdGeCurve2d
& curve2d,
161
double
param);
162
169
bool
isSingular
(
170
const
OdGeTol
&
tol
=
OdGeContext::gTol
)
const
;
171
172
182
bool
curvature
(
183
double
& res);
184
195
bool
curvature
(
196
double
param,
197
double
& res);
198
204
OdGePointOnCurve2d
&
setCurve
(
205
const
OdGeCurve2d
& curve2d);
206
212
OdGePointOnCurve2d
&
setParameter
(
213
double
param);
214
215
};
216
217
#include "
TD_PackPop.h
"
218
219
#endif
220
221
tol
tol
Definition:
DimVarDefs.h:2287
GE_TOOLKIT_EXPORT
#define GE_TOOLKIT_EXPORT
Definition:
GeExport.h:49
GePointEnt2d.h
TD_PackPop.h
TD_PackPush.h
OdGeCurve2d
Definition:
GeCurve2d.h:57
OdGePoint2d
Definition:
GePoint2d.h:63
OdGePointEnt2d
Definition:
GePointEnt2d.h:42
OdGePointEnt2d::operator=
OdGePointEnt2d & operator=(const OdGePointEnt2d &point)
OdGePointOnCurve2d
Definition:
GePointOnCurve2d.h:48
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::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:65
Generated on Wed Apr 5 2023 17:29:16