CFx SDK Documentation
2022 SP0
Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
z
Variables
a
k
o
s
v
w
Typedefs
_
a
b
c
d
e
f
h
i
l
m
o
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
Enumerator
a
b
c
d
e
h
i
k
l
m
o
p
r
s
t
u
v
w
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Related Functions
b
c
d
e
f
g
h
i
m
o
p
r
s
v
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
u
v
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
i
m
o
p
s
t
Enumerator
a
c
d
e
g
j
k
o
s
t
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
SDK
CFx
dd_inc
Gi
GiDeviation.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
26
27
#ifndef __ODGIDEVIATION_H__
28
#define __ODGIDEVIATION_H__
29
30
31
#include "
Gi/GiCommonDraw.h
"
32
#include "
Ge/GeDoubleArray.h
"
33
#include "
Ge/GePoint3d.h
"
34
43
class
OdGiDeviation
44
{
45
public
:
46
65
virtual
double
deviation
(
const
OdGiDeviationType
deviationType,
const
OdGePoint3d
& pointOnCurve)
const
= 0;
66
};
84
inline
OdGeDoubleArray
odgiGetAllDeviations
(
const
OdGiDeviation
& deviationObj,
const
OdGePoint3d
& pointOnCurve =
OdGePoint3d::kOrigin
)
85
{
86
OdGeDoubleArray
values(5);
87
values.
append
(deviationObj.
deviation
(
kOdGiMaxDevForCircle
, pointOnCurve));
88
values.
append
(deviationObj.
deviation
(
kOdGiMaxDevForCurve
, pointOnCurve));
89
values.
append
(deviationObj.
deviation
(
kOdGiMaxDevForBoundary
, pointOnCurve));
90
values.
append
(deviationObj.
deviation
(
kOdGiMaxDevForIsoline
, pointOnCurve));
91
values.
append
(deviationObj.
deviation
(
kOdGiMaxDevForFacet
, pointOnCurve));
92
return
values;
93
}
94
95
#endif
//#ifndef __ODGIDEVIATION_H__
GeDoubleArray.h
GePoint3d.h
GiCommonDraw.h
OdGiDeviationType
OdGiDeviationType
Definition:
GiCommonDraw.h:64
kOdGiMaxDevForCircle
@ kOdGiMaxDevForCircle
Definition:
GiCommonDraw.h:65
kOdGiMaxDevForIsoline
@ kOdGiMaxDevForIsoline
Definition:
GiCommonDraw.h:68
kOdGiMaxDevForCurve
@ kOdGiMaxDevForCurve
Definition:
GiCommonDraw.h:66
kOdGiMaxDevForFacet
@ kOdGiMaxDevForFacet
Definition:
GiCommonDraw.h:69
kOdGiMaxDevForBoundary
@ kOdGiMaxDevForBoundary
Definition:
GiCommonDraw.h:67
odgiGetAllDeviations
OdGeDoubleArray odgiGetAllDeviations(const OdGiDeviation &deviationObj, const OdGePoint3d &pointOnCurve=OdGePoint3d::kOrigin)
Definition:
GiDeviation.h:84
OdArray< double, OdMemoryAllocator< double > >
OdArray::append
size_type append(const T &value)
Definition:
OdArray.h:1215
OdGePoint3d
Definition:
GePoint3d.h:55
OdGePoint3d::kOrigin
static GE_STATIC_EXPORT const OdGePoint3d kOrigin
Definition:
GePoint3d.h:89
OdGiDeviation
Definition:
GiDeviation.h:44
OdGiDeviation::deviation
virtual double deviation(const OdGiDeviationType deviationType, const OdGePoint3d &pointOnCurve) const =0
Generated on Fri Jan 22 2021 18:01:35