Navigation
API > API/Runtime > API/Runtime/CADKernel > API/Runtime/CADKernel/Math
References
| Module | CADKernel |
| Header | /Engine/Source/Runtime/Datasmith/CADKernel/Base/Public/Math/Geometry.h |
| Include | #include "Math/Geometry.h" |
namespace UE
{
namespace CADKernel
{
template<class PointType>
PointType UE::CADKernel::ProjectPointOnSegment
(
const PointType & Point,
const PointType & InSegmentA,
const PointType & InSegmentB,
double & OutCoordinate,
bool bRestrictCoodinateToInside
)
}
}
Projected point
Parameters
| Name | Description |
|---|---|
| OutCoordinate | the coordinate of the projected point in the segment AB (coodinate of A = 0 and of B = 1) |