UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
GeoEnum.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
#pragma once
3
4
#include "
Core/Types.h
"
5
6
namespace
UE::CADKernel
7
{
8
9
enum class
ECurve
:
uint8
10
{
11
Bezier
= 0,
12
BoundedCurve
,
13
Composite
,
14
Ellipse
,
15
Hyperbola
,
16
Nurbs
,
17
Offset
,
18
Parabola
,
19
Polyline3D
,
20
Polyline2D
,
21
Restriction
,
22
Segment
,
23
Surfacic
,
24
SurfacicPolyline
,
25
Spline
,
26
None
,
27
};
28
29
#ifdef CADKERNEL_DEV
30
extern
const
TCHAR
*
CurvesTypesNames
[];
31
#endif
32
33
enum class
ESurface
:
uint8
34
{
35
Bezier
= 0,
36
Blend01
,
37
Blend02
,
38
Blend03
,
39
Composite
,
40
Cone
,
41
Coons
,
42
Cylinder
,
43
Nurbs
,
44
Offset
,
45
Plane
,
46
Revolution
,
47
Ruled
,
48
Sphere
,
49
TabulatedCylinder
,
50
Torus
,
51
None
,
52
};
53
54
#ifdef CADKERNEL_DEV
55
extern
const
TCHAR
*
SurfacesTypesNames
[];
56
#endif
57
58
enum class
ERupture
:
uint8
59
{
60
Continuity
= 0,
// Positional rupture i.e. points of the curve that are not G0
61
Tangency
,
// Tangency rupture i.e. points of the curve that are not G1 (or G0)
62
Curvature
,
// Curvature rupture i.e. points of the curve that are not G2 (or G1, G0)
63
};
64
65
enum
EIso
:
uint8
66
{
67
IsoU
= 0,
68
IsoV
= 1,
69
UndefinedIso
70
};
71
72
#ifdef CADKERNEL_DEV
73
extern
const
TCHAR
*
IsoNames
[];
74
#endif
75
76
constexpr
EIso
Other
(
const
EIso
Iso
)
77
{
78
return
Iso
==
EIso::IsoU
?
EIso::IsoV
:
EIso::IsoU
;
79
}
80
81
enum
EOrientation
:
uint8
82
{
83
Back
= 0,
84
Front
= 1
85
};
86
87
enum
ESituation
:
uint8
88
{
89
Undefined
= 0,
90
Inside
,
91
Outside
92
};
93
94
#ifdef CADKERNEL_DEV
95
extern
const
TCHAR
*
OrientationNames
[];
96
#endif
97
98
enum
ELimit
:
uint8
99
{
100
Start
= 0,
101
End
= 1
102
};
103
104
inline
EOrientation
SameOrientation
(
bool
bIsSameOrientation
)
105
{
106
if
(
bIsSameOrientation
)
107
{
108
return
EOrientation::Front
;
109
}
110
else
111
{
112
return
EOrientation::Back
;
113
}
114
}
115
116
inline
EOrientation
GetReverseOrientation
(
EOrientation
Orientation
)
117
{
118
if
(
Orientation
==
EOrientation::Front
)
119
{
120
return
EOrientation::Back
;
121
}
122
else
123
{
124
return
EOrientation::Front
;
125
}
126
}
127
128
inline
void
SwapOrientation
(
EOrientation
&
Orientation
)
129
{
130
if
(
Orientation
==
EOrientation::Front
)
131
{
132
Orientation
=
EOrientation::Back
;
133
}
134
else
135
{
136
Orientation
=
EOrientation::Front
;
137
}
138
}
139
140
}
// ns
EARSessionType::Orientation
@ Orientation
TCHAR
FPlatformTypes::TCHAR TCHAR
Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requir...
Definition
Platform.h:1135
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
Types.h
uint8
uint8_t uint8
Definition
binka_ue_file_header.h:8
UE::CADKernel
Definition
CADEntity.cpp:23
UE::CADKernel::GetReverseOrientation
EOrientation GetReverseOrientation(EOrientation Orientation)
Definition
GeoEnum.h:116
UE::CADKernel::EOrientation
EOrientation
Definition
GeoEnum.h:82
UE::CADKernel::Front
@ Front
Definition
GeoEnum.h:84
UE::CADKernel::Back
@ Back
Definition
GeoEnum.h:83
UE::CADKernel::SameOrientation
EOrientation SameOrientation(bool bIsSameOrientation)
Definition
GeoEnum.h:104
UE::CADKernel::EQuadType::Other
@ Other
UE::CADKernel::SwapOrientation
void SwapOrientation(EOrientation &Orientation)
Definition
GeoEnum.h:128
UE::CADKernel::ESurface
ESurface
Definition
GeoEnum.h:34
UE::CADKernel::ESurface::Plane
@ Plane
UE::CADKernel::ESurface::Cylinder
@ Cylinder
UE::CADKernel::ESurface::Torus
@ Torus
UE::CADKernel::ESurface::Blend03
@ Blend03
UE::CADKernel::ESurface::Coons
@ Coons
UE::CADKernel::ESurface::Blend01
@ Blend01
UE::CADKernel::ESurface::Revolution
@ Revolution
UE::CADKernel::ESurface::Ruled
@ Ruled
UE::CADKernel::ESurface::Sphere
@ Sphere
UE::CADKernel::ESurface::Blend02
@ Blend02
UE::CADKernel::ESurface::Cone
@ Cone
UE::CADKernel::ESurface::TabulatedCylinder
@ TabulatedCylinder
UE::CADKernel::ERupture
ERupture
Definition
GeoEnum.h:59
UE::CADKernel::ERupture::Curvature
@ Curvature
UE::CADKernel::ERupture::Tangency
@ Tangency
UE::CADKernel::ERupture::Continuity
@ Continuity
UE::CADKernel::EIsoNodeStates::None
@ None
UE::CADKernel::ESituation
ESituation
Definition
GeoEnum.h:88
UE::CADKernel::Inside
@ Inside
Definition
GeoEnum.h:90
UE::CADKernel::Undefined
@ Undefined
Definition
GeoEnum.h:89
UE::CADKernel::Outside
@ Outside
Definition
GeoEnum.h:91
UE::CADKernel::ELimit
ELimit
Definition
GeoEnum.h:99
UE::CADKernel::End
@ End
Definition
GeoEnum.h:101
UE::CADKernel::Start
@ Start
Definition
GeoEnum.h:100
UE::CADKernel::EIso
EIso
Definition
GeoEnum.h:66
UE::CADKernel::IsoV
@ IsoV
Definition
GeoEnum.h:68
UE::CADKernel::UndefinedIso
@ UndefinedIso
Definition
GeoEnum.h:69
UE::CADKernel::IsoU
@ IsoU
Definition
GeoEnum.h:67
UE::CADKernel::Iso
@ Iso
Definition
Visu.h:20
UE::CADKernel::ECurve
ECurve
Definition
GeoEnum.h:10
UE::CADKernel::ECurve::Ellipse
@ Ellipse
UE::CADKernel::ECurve::Composite
@ Composite
UE::CADKernel::ECurve::Hyperbola
@ Hyperbola
UE::CADKernel::ECurve::Bezier
@ Bezier
UE::CADKernel::ECurve::Segment
@ Segment
UE::CADKernel::ECurve::Spline
@ Spline
UE::CADKernel::ECurve::Restriction
@ Restriction
UE::CADKernel::ECurve::Surfacic
@ Surfacic
UE::CADKernel::ECurve::Polyline3D
@ Polyline3D
UE::CADKernel::ECurve::Polyline2D
@ Polyline2D
UE::CADKernel::ECurve::SurfacicPolyline
@ SurfacicPolyline
UE::CADKernel::ECurve::BoundedCurve
@ BoundedCurve
UE::CADKernel::ECurve::Parabola
@ Parabola
UE::CADKernel::ECurve::Offset
@ Offset
UE::CADKernel::ECurve::Nurbs
@ Nurbs
Engine
Source
Runtime
Datasmith
CADKernel
Base
Public
Geo
GeoEnum.h
Generated by
1.9.8