UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
BSpline.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#include "Math/Boundary.h"
6#include "Math/Point.h"
7
8namespace UE::CADKernel
9{
10class FGrid;
11class FNURBSCurve;
12class FNURBSSurface;
13class FNURBSSurface;
14class FSurfacicBoundary;
15struct FCoordinateGrid;
16struct FCurvePoint2D;
17struct FCurvePoint;
18struct FLinearBoundary;
19struct FSurfacicPoint;
20struct FSurfacicSampling;
21
22namespace BSpline
23{
28
29CADKERNEL_API void FindNotDerivableParameters(const FNURBSCurve&, int32 InDerivativeOrder, const FLinearBoundary& Boundary, TArray<double>& OutNotDerivableParameters);
30CADKERNEL_API void FindNotDerivableParameters(const FNURBSSurface&, int32 InDerivativeOrder, const FSurfacicBoundary& Boundary, FCoordinateGrid& OutNotDerivableParameters);
31
32CADKERNEL_API void Evaluate2DPoint(const FNURBSCurve&, double Coordinate, FCurvePoint2D& OutPoint, int32 DerivativeOrder);
33CADKERNEL_API void EvaluatePoint(const FNURBSCurve&, double Coordinate, FCurvePoint& OutPoint, int32 DerivativeOrder);
34
35CADKERNEL_API void EvaluatePoint(const FNURBSSurface&, const FVector2d& InPoint2D, FSurfacicPoint& OutPoint3D, int32 InDerivativeOrder);
36CADKERNEL_API void EvaluatePointGrid(const FNURBSSurface&, const FCoordinateGrid& Coords, FSurfacicSampling& OutPoints, bool bComputeNormals);
37
39}
40}
41
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition Array.h:670
Definition SharedPointer.h:692
void EvaluatePointGrid(const FNURBSSurface &Nurbs, const FCoordinateGrid &Coords, FSurfacicSampling &OutPoints, bool bComputeNormals)
Definition BSpline.cpp:773
void Bernstein(int32 Degree, double InCoordinateU, double *BernsteinValuesAtU, double *BernsteinGradientsAtU, double *BernsteinLaplaciansAtU)
Definition BSpline.cpp:73
void FindNotDerivableParameters(int32 Degree, int32 PoleCount, const TArray< double > &NodalVector, int32 DerivativeOrder, const FLinearBoundary &Boundary, TArray< double > &OutNotDerivableParameters)
Definition BSpline.cpp:1267
void DuplicateNurbsCurveWithHigherDegree(int32 degre, const TArray< FVector > &poles, const TArray< double > &nodalVector, const TArray< double > &weights, TArray< FVector > &newPoles, TArray< double > &newNodalVector, TArray< double > &newWeights)
Definition BSpline.cpp:1380
void Evaluate2DPoint(const FNURBSCurve &Nurbs, double Coordinate, FCurvePoint2D &OutPoint, int32 DerivativeOrder)
Definition BSpline.cpp:629
void EvaluatePoint(const FNURBSCurve &Nurbs, double Coordinate, FCurvePoint &OutPoint, int32 DerivativeOrder)
Definition BSpline.cpp:577
Definition CADEntity.cpp:23