Navigation
API > API/Runtime > API/Runtime/CADKernel
| Name | FLinearBoundary |
| Type | struct |
| Header File | /Engine/Source/Runtime/Datasmith/CADKernel/Base/Public/Math/Boundary.h |
| Include Path | #include "Math/Boundary.h" |
Syntax
struct FLinearBoundary
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Math/Boundary.h | |||
FLinearBoundary
(
const double UMin, |
Math/Boundary.h | ||
FLinearBoundary
(
const FLinearBoundary& Boundary, |
Math/Boundary.h | ||
FLinearBoundary
(
const double UMin, |
Math/Boundary.h | ||
FLinearBoundary
(
const FLinearBoundary& Boundary |
Math/Boundary.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DefaultBoundary | const FLinearBoundary | A default boundary (0., 1.) | Math/Boundary.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Max | double | Math/Boundary.h | ||
| Min | double | Math/Boundary.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
double ComputeMinimalTolerance() |
Compute the minimal tolerance of the parametric domain i.e. ToleranceMin = Boundary.Length() * MINIMAL_UNIT_LINEAR_TOLERANCE e.g. for a curve of 1m with a parametric space define between [0, 1], the parametric tolerance is 0.01 This is a minimal value that has to be replace with a more accurate value when its possible | Math/Boundary.h | |
bool Contains
(
const double Coordinate |
Math/Boundary.h | ||
void ExtendTo
(
const FLinearBoundary& MaxBound |
Math/Boundary.h | ||
void ExtendTo
(
const double Coordinate |
Math/Boundary.h | ||
void ExtendTo
(
double MinCoordinate, |
Math/Boundary.h | ||
double GetAt
(
const double Coordinate |
Math/Boundary.h | ||
double GetMax() |
Math/Boundary.h | ||
double GetMiddle() |
Math/Boundary.h | ||
double GetMin() |
Math/Boundary.h | ||
void Init() |
Uses to initiate a boundary computation with ExtendTo | Math/Boundary.h | |
bool IsDegenerated() |
Return true if the parametric domain is to small | Math/Boundary.h | |
bool IsValid() |
Math/Boundary.h | ||
double Length() |
Math/Boundary.h | ||
void MoveInsideIfNot
(
double& Coordinate, |
If a coordinate is outside the bounds, set the coordinate at the closed limit | Math/Boundary.h | |
void Offset
(
const double Tolerance |
Math/Boundary.h | ||
void RestrictTo
(
const FLinearBoundary& MaxBound |
Math/Boundary.h | ||
void Set
(
const double InUMin, |
Math/Boundary.h | ||
| Set the boundary with the min and max of the array | Math/Boundary.h | ||
void SetMax
(
const double Coordinates |
Math/Boundary.h | ||
void SetMin
(
const double Coordinates |
Math/Boundary.h | ||
double Size() |
Math/Boundary.h | ||
void TrimAt
(
const FLinearBoundary& MaxBound |
Math/Boundary.h | ||
void WidenIfDegenerated() |
If the boundary width is near or equal to zero, it's widened by +/- DOUBLE_SMALL_NUMBER | Math/Boundary.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLinearBoundary & operator=
(
const FLinearBoundary& InBounds |
Math/Boundary.h |