Navigation
API > API/Runtime > API/Runtime/CADKernel
| Name | FSurface |
| Type | class |
| Header File | /Engine/Source/Runtime/Datasmith/CADKernel/Base/Public/Geo/Surfaces/Surface.h |
| Include Path | #include "Geo/Surfaces/Surface.h" |
Syntax
class FSurface : public UE::CADKernel::FEntityGeom
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FEntity → FEntityGeom → FSurface
- FHaveStates → FEntity → FEntityGeom → FSurface
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSurface
(
double InToleranceGeometric, |
Geo/Surfaces/Surface.h | ||
FSurface () |
Geo/Surfaces/Surface.h | ||
FSurface
(
double InToleranceGeometric |
Geo/Surfaces/Surface.h | ||
FSurface
(
double InToleranceGeometric, |
Geo/Surfaces/Surface.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FSurface() |
Geo/Surfaces/Surface.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FEntity | friend | Geo/Surfaces/Surface.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void EvaluateGrid
(
FGrid& Grid |
Geo/Surfaces/Surface.h | ||
virtual FVector EvaluateNormal
(
const FVector2d& InPoint2D |
Geo/Surfaces/Surface.h | ||
| Geo/Surfaces/Surface.h | |||
void EvaluatePoint
(
const FVector2d& InSurfacicCoordinate, |
Geo/Surfaces/Surface.h | ||
virtual void EvaluatePointAndNormal
(
const FVector2d& InPoint2D, |
Geo/Surfaces/Surface.h | ||
virtual void EvaluatePointGrid
(
const FCoordinateGrid& Coordinates, |
Geo/Surfaces/Surface.h | ||
virtual void EvaluatePointGridInCylindricalSpace
(
const FCoordinateGrid& Coordinates, |
Geo/Surfaces/Surface.h | ||
virtual FVector2d EvaluatePointInCylindricalSpace
(
const FVector2d& InSurfacicCoordinate |
X = Rho cos(Alpha) Y = Rho sin(Alpha) Z = Z | Geo/Surfaces/Surface.h | |
virtual void EvaluatePoints
(
const TArray< FVector2d >& InSurfacicCoordinates, |
Geo/Surfaces/Surface.h | ||
virtual void EvaluatePoints
(
const TArray< FCurvePoint2D >& InSurfacicCoordinates, |
Geo/Surfaces/Surface.h | ||
virtual void EvaluatePoints
(
const TArray< FCurvePoint2D >& InSurfacicCoordinates, |
Geo/Surfaces/Surface.h | ||
virtual void EvaluatePoints
(
FSurfacicPolyline& Polyline |
Geo/Surfaces/Surface.h | ||
virtual void EvaluatePoints
(
const TArray< FCurvePoint2D >& Points2D, |
Geo/Surfaces/Surface.h | ||
void ExtendBoundaryTo
(
const FSurfacicBoundary MaxLimit |
Geo/Surfaces/Surface.h | ||
double Get3DTolerance() |
Geo/Surfaces/Surface.h | ||
const FSurfacicBoundary & GetBoundary() |
Geo/Surfaces/Surface.h | ||
double GetIsoTolerance
(
EIso Iso |
Return the minimum tolerance in the parametric space of the surface along the specified axis With Tolerance3D = FSysteme.GeometricalTolerance | Geo/Surfaces/Surface.h | |
const FSurfacicTolerance & GetIsoTolerances () |
Tolerance along Iso U/V is very costly to compute and not accurate. | Geo/Surfaces/Surface.h | |
ESurface GetSurfaceType() |
Geo/Surfaces/Surface.h | ||
virtual void IsSurfaceClosed
(
bool& bOutClosedAlongU, |
A surface is closed along an iso axis if it's connected to itself e.g. the edge carried by the iso curve U = UMin is linked to the edge carried by the iso curve U = UMax A complete sphere, torus are example of surface closed along U and V A cylinder with circle section or a cone are example of surface closed along an iso | Geo/Surfaces/Surface.h | |
virtual void LinesNotDerivables
(
const FSurfacicBoundary& Bounds, |
Geo/Surfaces/Surface.h | ||
void LinesNotDerivables
(
int32 InDerivativeOrder, |
Geo/Surfaces/Surface.h | ||
virtual void Presample
(
const FSurfacicBoundary& InBoundaries, |
Generate a pre-sampling of the surface saved in OutCoordinates. | Geo/Surfaces/Surface.h | |
void PresampleIsoCircle
(
const FSurfacicBoundary& InBoundaries, |
Geo/Surfaces/Surface.h | ||
void Sample
(
const FSurfacicBoundary& Bounds, |
Divide the parametric space in the desired number of regular subdivisions and compute the associated PointGrid | Geo/Surfaces/Surface.h | |
void Sample
(
const FSurfacicBoundary& Boundary, |
Divide the parametric space in the desired number of regular subdivisions and compute the associated CoordinateGrid | Geo/Surfaces/Surface.h | |
void TrimBoundaryTo
(
const FSurfacicBoundary NewLimit |
Geo/Surfaces/Surface.h | ||
virtual void ValidateUVPoints
(
TArray< FVector2d >& UVPoints |
Geo/Surfaces/Surface.h |
Overridden from FEntityGeom
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSharedPtr< FEntityGeom > ApplyMatrix
(
const FMatrixH& InMatrix |
Geo/Surfaces/Surface.h |
Overridden from FEntity
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual EEntity GetEntityType() |
Geo/Surfaces/Surface.h | ||
virtual void Serialize
(
FCADKernelArchive& Ar |
Serialization of a FEntity. | Geo/Surfaces/Surface.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ComputeDefaultMinToleranceIso() |
Geo/Surfaces/Surface.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static double ComputeScaleAlongAxis
(
const FVector& InAxis, |
This function return the scale of the input Axis. | Geo/Surfaces/Surface.h | |
static TSharedPtr< FSurface > Deserialize
(
FCADKernelArchive& Archive |
Specific method for surface family to instantiate the correct derived class of FCurve | Geo/Surfaces/Surface.h | |
static TSharedPtr< FSurface > MakeBezierSurface
(
const double InToleranceGeometric, |
Geo/Surfaces/Surface.h | ||
static TSharedPtr< FSurface > MakeConeSurface
(
const double InToleranceGeometric, |
Geo/Surfaces/Surface.h | ||
static TSharedPtr< FSurface > MakeCylinderSurface
(
const double InToleranceGeometric, |
Geo/Surfaces/Surface.h | ||
static TSharedPtr< FSurface > MakeNurbsSurface
(
const double InToleranceGeometric, |
Geo/Surfaces/Surface.h | ||
static TSharedPtr< FSurface > MakeNurbsSurface
(
const double InToleranceGeometric, |
Geo/Surfaces/Surface.h | ||
static TSharedPtr< FSurface > MakePlaneSurface
(
const double InToleranceGeometric, |
Geo/Surfaces/Surface.h | ||
static TSharedPtr< FSurface > MakeSphericalSurface
(
const double InToleranceGeometric, |
Geo/Surfaces/Surface.h | ||
static TSharedPtr< FSurface > MakeTorusSurface
(
const double InToleranceGeometric, |
Geo/Surfaces/Surface.h |