Navigation
API > API/Plugins > API/Plugins/ModelingComponents
Description
Iteratively subdivide and project a spline so that it lies on the given surface. NOTE: Point tangents for newly added points are computed using the spline derivative and local surface tangent plane. Rotations and Scales are not handled by this function.
| Name | UE::Geometry::SplineUtil::ProjectSplineToSurface |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/SplineUtil.h |
| Include Path | #include "SplineUtil.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/SplineUtil.cpp |
namespace UE
{
namespace Geometry
{
namespace SplineUtil
{
void UE::Geometry::SplineUtil::ProjectSplineToSurface
(
FInterpCurveVector & OutputSpline,
const FInterpCurveVector & InputSpline,
const UE::Geometry::FDynamicMeshAABBTree3 & SurfaceAABBTree,
const FTransform & SplineTransform,
const FTransform & MeshTransform,
double RelativeErrorThreshold,
int32 MaxNewPoints
)
}
}
}