CFx SDK Documentation
2023 SP0
SDK
CFx
dd_inc
Ge
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
47
class
GE_TOOLKIT_EXPORT
OdGePointOnCurve2d
:
public
OdGePointEnt2d
48
{
49
public
:
50
51
59
OdGePointOnCurve2d
();
60
61
OdGePointOnCurve2d
(
62
const
OdGeCurve2d
& curve2d,
63
double
param = 0.0);
64
65
OdGePointOnCurve2d
(
66
const
OdGePointOnCurve2d
&
source
);
67
68
OdGePointOnCurve2d
&
operator =
(
69
const
OdGePointOnCurve2d
& pntOnCurve);
70
74
const
OdGeCurve2d
*
curve
()
const
;
75
79
double
parameter
()
const
;
80
84
OdGePoint2d
point
()
const
;
85
91
OdGePoint2d
point
(
92
double
param);
93
100
OdGePoint2d
point
(
101
const
OdGeCurve2d
& curve2d,
102
double
param);
103
112
OdGeVector2d
deriv
(
113
int
order)
const
;
114
124
OdGeVector2d
deriv
(
125
int
order,
126
double
param);
127
138
OdGeVector2d
deriv
(
139
int
order,
140
const
OdGeCurve2d
& curve2d,
141
double
param);
142
152
bool
isSingular
(
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
187
OdGePointOnCurve2d
&
setCurve
(
188
const
OdGeCurve2d
& curve2d);
189
195
OdGePointOnCurve2d
&
setParameter
(
196
double
param);
197
198
};
199
200
#include "
TD_PackPop.h
"
201
202
#endif
203
204
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:54
OdGePoint2d
Definition:
GePoint2d.h:60
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::setCurve
OdGePointOnCurve2d & setCurve(const OdGeCurve2d &curve2d)
OdGePointOnCurve2d::deriv
OdGeVector2d deriv(int order, double param)
OdGePointOnCurve2d::point
OdGePoint2d point(double param)
OdGePointOnCurve2d::curvature
bool curvature(double param, double &res)
OdGePointOnCurve2d::curve
const OdGeCurve2d * curve() const
OdGePointOnCurve2d::deriv
OdGeVector2d deriv(int order, const OdGeCurve2d &curve2d, double param)
OdGePointOnCurve2d::parameter
double parameter() const
OdGePointOnCurve2d::setParameter
OdGePointOnCurve2d & setParameter(double param)
OdGePointOnCurve2d::point
OdGePoint2d point(const OdGeCurve2d &curve2d, double param)
OdGePointOnCurve2d::curvature
bool curvature(double &res)
OdGePointOnCurve2d::deriv
OdGeVector2d deriv(int order) 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:60
Generated on Thu Feb 24 2022 15:09:32