Navigation
API > API/Runtime > API/Runtime/CADKernel > API/Runtime/CADKernel/Math
References
| Module | CADKernel |
| Header | /Engine/Source/Runtime/Datasmith/CADKernel/Base/Public/Math/Point.h |
| Include | #include "Math/Point.h" |
Syntax
class FPoint2D
Variables
| Type | Name | Description | |
|---|---|---|---|
| union UE::CADKernel::FPoint2D | |||
| double | U | ||
| double[2] | UV | ||
| double | V |
Constructors
Functions
| Type | Name | Description | |
|---|---|---|---|
| double | ComputeCosinus
(
const FPoint2D& OtherVector |
||
| double | Return the projection of the point on the diagonal axis (of vector (1,1)) i.e. return U + V | ||
| double | |||
| bool | |||
| FPoint2D | |||
| double | Length () |
||
| FPoint2D | |||
| FPoint2D & | Normalize () |
||
| FPoint2D & | Normalize
(
double& Norm |
||
| FPoint2D | Rotate
(
double Theta |
||
| void | Set
(
double* NewCoordinate |
||
| void | Set
(
double NewU, |
||
| double | SquareDistance
(
const FPoint2D& Point |
||
| double | SquareLength () |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FPoint2D | operator- () |
||
| FPoint2D | |||
| FPoint2D | operator*
(
double Scale |
||
| double | |||
| FPoint2D & | operator*=
(
double Scale |
||
| FPoint2D | operator/
(
double InvScale |
||
| FPoint2D & | operator/=
(
double InvScale |
||
| double | operator[]
(
int32 Index |
||
| double & | operator[]
(
int32 Index |
||
| double | |||
| FPoint2D | |||
| FPoint2D & | operator+=
(
const FPoint2D& Point |
||
| bool | |||
| FPoint2D & | |||
| FPoint2D & | operator-=
(
const FPoint2D& Point |
||
| bool | operator==
(
const FPoint2D& Point |
Constants
| Name | Description |
|---|---|
| Dimension | |
| FarawayPoint | |
| ZeroPoint | A zero point (0,0,0) |