Navigation
API > API/Runtime > API/Runtime/CADKernel > API/Runtime/CADKernel/FSurface
Description
This function return the scale of the input Axis. This function is useful to estimate tolerance when scales are defined in the Matrix
| Name | ComputeScaleAlongAxis |
| Type | function |
| Header File | /Engine/Source/Runtime/Datasmith/CADKernel/Base/Public/Geo/Surfaces/Surface.h |
| Include Path | #include "Geo/Surfaces/Surface.h" |
static double ComputeScaleAlongAxis
(
const FVector & InAxis,
const FMatrixH & InMatrix,
const FVector & InOrigin
)
Parameters
| Name | Remarks |
|---|---|
| InAxis | a vetor of length 1 |
| InMatrix | |
| InOrigin | = InMatrix*FVector::ZeroVector |