Navigation
API > API/Runtime > API/Runtime/CADKernel > API/Runtime/CADKernel/Math
References
| Module | CADKernel |
| Header | /Engine/Source/Runtime/Datasmith/CADKernel/Base/Public/Math/Boundary.h |
| Include | #include "Math/Boundary.h" |
Syntax
struct FLinearBoundary
Variables
| Type | Name | Description | |
|---|---|---|---|
| double | Max | ||
| double | Min |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FLinearBoundary
(
const FLinearBoundary& Boundary |
|||
FLinearBoundary
(
const double UMin, |
|||
FLinearBoundary
(
const FLinearBoundary& Boundary, |
|||
FLinearBoundary
(
const double UMin, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| double | 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 | ||
| bool | Contains
(
const double Coordinate |
||
| void | ExtendTo
(
const FLinearBoundary& MaxBound |
||
| void | ExtendTo
(
const double Coordinate |
||
| void | ExtendTo
(
double MinCoordinate, |
||
| double | GetAt
(
const double Coordinate |
||
| double | GetMax () |
||
| double | GetMiddle () |
||
| double | GetMin () |
||
| void | Init () |
Uses to initiate a boundary computation with ExtendTo | |
| bool | Return true if the parametric domain is to small | ||
| bool | IsValid () |
||
| double | Length () |
||
| void | MoveInsideIfNot
(
double& Coordinate, |
If a coordinate is outside the bounds, set the coordinate at the closed limit | |
| void | Offset
(
const double Tolerance |
||
| void | RestrictTo
(
const FLinearBoundary& MaxBound |
||
| void | Set
(
const double InUMin, |
||
| void | Set the boundary with the min and max of the array | ||
| void | SetMax
(
const double Coordinates |
||
| void | SetMin
(
const double Coordinates |
||
| double | Size () |
||
| void | TrimAt
(
const FLinearBoundary& MaxBound |
||
| void | If the boundary width is near or equal to zero, it's widened by +/- DOUBLE_SMALL_NUMBER |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FLinearBoundary & | operator=
(
const FLinearBoundary& InBounds |
Constants
| Name | Description |
|---|---|
| DefaultBoundary | A default boundary (0., 1.) |