Navigation
API > API/Runtime > API/Runtime/CADKernel
Classes
| Type | Name | Description | |
|---|---|---|---|
| FAABB | |||
| FAABB2D | |||
| FFPoint | |||
| FIsoCurvature | |||
| FLinearBoundary | |||
| FMatrixH | Should be unified with the math utilities implemented by the Geometry team. | ||
| FPoint | |||
| FPoint2D | |||
| FPointH | |||
| FSurfaceCurvature | |||
| FSurfacicBoundary | |||
| FTriangle | |||
| FTriangle2D | |||
| TAABB | |||
| TQuadrangle | |||
| TSegment | |||
| TTriangle |
Typedefs
| Name | Description |
|---|---|
| FSegment2D | |
| FSegment3D | |
| FSurfacicTolerance |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EAABBBoundary | Copyright Epic Games, Inc. All Rights Reserved. | ||
| UE::CADKernel::EPolygonSide | Copyright Epic Games, Inc. All Rights Reserved. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| uint32 | GetTypeHash
(
const UE::CADKernel::FPoint& Point |
||
| uint32 | GetTypeHash
(
const UE::CADKernel::FPoint2D& Point |
||
| uint32 | GetTypeHash
(
const UE::CADKernel::FPointH& Point |
||
| bool | operator!
(
EAABBBoundary E |
||
| EAABBBoundary | operator&
(
EAABBBoundary Lhs, |
||
| EAABBBoundary & | operator&=
(
EAABBBoundary& Lhs, |
||
| EAABBBoundary | operator^
(
EAABBBoundary Lhs, |
||
| EAABBBoundary & | operator^=
(
EAABBBoundary& Lhs, |
||
| EAABBBoundary | operator|
(
EAABBBoundary Lhs, |
||
| EAABBBoundary & | operator|=
(
EAABBBoundary& Lhs, |
||
| EAABBBoundary | operator~
(
EAABBBoundary E |
||
| bool | UE::CADKernel::AreParallel
(
const FSegment2D& SegmentAB, |
||
| bool | P1 | ||
| double | UE::CADKernel::ClockwiseSlope
(
const FPoint2D& StartPoint, |
||
| FPoint2D | UE::CADKernel::ComputeCircumCircleCenter
(
const FPoint2D& InPoint0, |
https://en.wikipedia.org/wiki/Circumscribed_circle#Cartesian_coordinates_2 With A = (0, 0) | |
| FPoint | UE::CADKernel::ComputeCircumCircleCenter
(
const FPoint& Point0, |
||
| FPoint2D | UE::CADKernel::ComputeCircumCircleCenterAndSquareRadius
(
const FPoint2D& InPoint0, |
||
| double | UE::CADKernel::ComputeCosinus
(
FVector Vector, |
||
| double | UE::CADKernel::ComputeOrientedSlope
(
const FPoint2D& StartPoint, |
Compute the positive slope between the segments [StartPoint, EndPoint1] and [StartPoint, EndPoint2] | |
| double | UE::CADKernel::ComputeOrientedSlope
(
const FPoint2D& StartPoint, |
Compute the oriented slope of a segment according to a reference slope | |
| double | UE::CADKernel::ComputePositiveSlope
(
const FPoint2D& StartPoint, |
Compute the oriented slope of a segment according to a reference slope This method is used to compute an approximation of the angle between two segments in 2D. | |
| double | UE::CADKernel::ComputePositiveSlope
(
const FPoint2D& StartPoint, |
Compute the positive slope between the segments [StartPoint, EndPoint1] and [StartPoint, EndPoint2] | |
| double | UE::CADKernel::ComputeSlope
(
const FPoint2D& StartPoint, |
Compute the slope between the segments [StartPoint, EndPoint1] and [StartPoint, EndPoint2] | |
| double | UE::CADKernel::ComputeSlope
(
const FPoint2D& StartPoint, |
Compute the slope of a segment according to a reference slope return the slope | |
| double | UE::CADKernel::ComputeSlope
(
const FPoint2D& StartPoint, |
||
| double | UE::CADKernel::ComputeSlopeRelativeToNearestAxis
(
const FPoint2D& StartPoint, |
Return a slope between [0, 1] relative to the nearest axis between horizontal or vertical axis i.e. ComputeUnorientedSlope => 0.5 return 0.5 ComputeUnorientedSlope => 2.3 return 0.3 ComputeUnorientedSlope => 3.6 return 0.4 | |
| double | UE::CADKernel::ComputeSlopeRelativeToReferenceAxis
(
const FPoint2D& StartPoint, |
Return a slope between [0, 2] relative to reference Axis i.e. ComputeUnorientedSlope => 0.5 return 0.5 ComputeUnorientedSlope => 2.3 return 1.7 | |
| double | UE::CADKernel::ComputeUnorientedSlope
(
const FPoint2D& StartPoint, |
Return a slope between [0, 4] i.e. an angle between [0, Pi] | |
| double | UE::CADKernel::ComputeUnorientedSlope
(
const FPoint2D& StartPoint, |
Return a slope between [0, 4] i.e. an angle between [0, Pi] | |
| double | UE::CADKernel::CoordinateOfProjectedPointOnSegment
(
const PointType& Point, |
||
| double | UE::CADKernel::CounterClockwiseSlope
(
const FPoint2D& StartPoint, |
||
| T | UE::CADKernel::Cubic
(
const T A |
||
| double | UE::CADKernel::DistanceOfPointToLine
(
const PointType& Point, |
||
| double | UE::CADKernel::DistanceOfPointToSegment
(
const PointType& Point, |
||
| bool | UE::CADKernel::FindIntersectionOfLines2D
(
const FSegment2D& LineAB, |
||
| FPoint2D | UE::CADKernel::FindIntersectionOfSegments2D
(
const FSegment2D& SegmentAB, |
The segments must intersect because no check is done | |
| FPoint2D | UE::CADKernel::FindIntersectionOfSegments2D
(
const FSegment2D& SegmentAB, |
The segments must intersect because no check is done | |
| const void | UE::CADKernel::GetMinMax
(
ValueType& Min, |
Sort input values to be Min and Max | |
| const void | UE::CADKernel::GetMinMax
(
const ValueType& ValueA, |
Sort input A & B values into OutMin & OutMax | |
| bool | UE::CADKernel::IsPointPInsideSectorABC
(
const FPoint2D& PointA, |
P1 | |
| bool | UE::CADKernel::IsWithinExclusive
(
const ValueType& TestValue, |
Checks if value is within a range, exclusive on MinValue and MaxValue) | |
| FPoint | UE::CADKernel::operator*
(
double Scale, |
||
| FPoint | UE::CADKernel::operator*
(
float Scale, |
||
| FPoint2D | UE::CADKernel::operator*
(
float Scale, |
||
| FPoint2D | UE::CADKernel::operator*
(
double Scale, |
||
| PointType | UE::CADKernel::PointOnSegment
(
const PointType& InSegmentA, |
||
| FPoint | UE::CADKernel::ProjectPointOnPlane
(
const FPoint& Point, |
||
| PointType | UE::CADKernel::ProjectPointOnSegment
(
const PointType& Point, |
||
| int32 | UE::CADKernel::RealCompare
(
const double Value1, |
||
| FPoint2D | UE::CADKernel::SlopeToVector
(
const double Slope |
||
| double | UE::CADKernel::SquareDistanceOfPointToSegment
(
const PointType& Point, |
||
| double | UE::CADKernel::SwapSlopeOrientation
(
double Slope |
Swap a slope i.e Slope + PiSlope i.e. angle + Pi | |
| uint8 | UE::CADKernel::ToUInt8
(
T Value |
||
| double | UE::CADKernel::TransformIntoClockwiseSlope
(
double Slope |
||
| double | UE::CADKernel::TransformIntoOrientedSlope
(
double Slope |
Transform a positive slope into an oriented slope [-4, 4] i.e. an equivalent angle between [-Pi, Pi] | |
| double | UE::CADKernel::TransformIntoPositiveSlope
(
double Slope |
Transform a slope into a positive slope [0, *] i.e. an equivalent angle between [0, 2.Pi] | |
| double | UE::CADKernel::TransformIntoSlopeRelativeToReferenceAxis
(
double Slope |
Return a slope between [0, 2] relative to reference Axis i.e. ComputeUnorientedSlope => 0.5 return 0.5 ComputeUnorientedSlope => 2.3 return 1.7 | |
| double | UE::CADKernel::TransformIntoUnorientedSlope
(
double Slope |
Transform a positive slope into an unoriented slope [0, 4] i.e. an equivalent angle between [0, Pi] | |
| double | UE::CADKernel::WrapTo
(
double Slope, |
Wraps a periodic value into a prime period defined by its StartOfPeriod value and its EndOfPeriod value Mandatory EndOfPeriod - StartOfPeriod = PeriodSize |
Variables
| Type | Name | Description | |
|---|---|---|---|
| double | Epsilon | ||
| double | FifteenDegree | ||
| double | FiveDegree | ||
| double | FortyFiveSlope | ||
| double | HalfPiSlope | ||
| double | MinusRightSlope | MinusRightSlope i.e. -Pi / 2 | |
| double | NinetySlope | ||
| double | NullSlope | ||
| double | OneDegree | ||
| double | PiSlope | PiSlope i.e. Pi angle | |
| double | QuaterPiSlope | ThirdPiSlope i.e. Pi/4 angle (45 deg) | |
| double | RightSlope | RightSlope i.e. Right angle i.e Pi / 2 | |
| double | SixthPiSlope | ThirdPiSlope i.e. Pi/6 angle (30 deg) | |
| double | SixtySlope | ||
| double | TenDegree | ||
| double | ThirdPiSlope | ThirdPiSlope i.e. Pi/3 angle (60 deg) | |
| double | ThirtySlope | ||
| double | ThreeQuaterPiSlope | ThreeQuaterPiSlope i.e. 3Pi/4 angle (135 deg) | |
| double | ThreeRightSlope | ThreeRightSlope i.e. 3Pi / 2 | |
| double | TwentyDegree | ||
| double | TwentyFiveDegree | ||
| double | TwoDegree | ||
| double | TwoPiSlope | PiSlope i.e. Pi angle |