Navigation
API > API/Runtime > API/Runtime/CADKernel
3 parametric spaces are defined : -EGridSpace::Default2D the natural parametric space of the carrier surface i.e. for a Bezier surface the boundary of the space is [[0, 1], [0, 1]] and for a spherical surface [[0, 2Pi], [-Pi / 2, Pi / 2]] -EGridSpace::UniformScaled.The average curvilinear length of the iso curves is calculated in each axis.The parametric space is then scaled in each axis such that the average curvilinear length between two points P(A, V) and P(B, V) = B - A.For a spherical surface [[0, 2Pi.R / 2], [-Pi.R / 2, Pi.R / 2]] with R the radius of the sphere -EGridSpace::Scaled.The UnifomeScaled space is rescaled in its most disturbe axis e.g. if V is the most disturbe axis, whatever V, length of[P(A, V), P(B, V)] = (B - A). This parametric space is closed to a good flattening of the surface.
| Name | UE::CADKernel::EGridSpace |
| Type | enum |
| Header File | /Engine/Source/Runtime/Datasmith/CADKernel/Base/Public/Mesh/MeshEnum.h |
| Include Path | #include "Mesh/MeshEnum.h" |
Syntax
namespace UE
{
namespace CADKernel
{
enum EGridSpace
{
Default2D = 0,
Scaled = 1,
UniformScaled = 2,
EndGridSpace,
}
}
}
Values
| Name | Remarks |
|---|---|
| Default2D | |
| Scaled | |
| UniformScaled | |
| EndGridSpace |