formZ SDK | 5.0 API Reference | System | Math

# FZ_MATH_3D_DIST_PT_PLANE

Description

Computes the perpendicular distance between a 3d point and a plane.

Plugin Prototype

#define FZ_MATH_3D_DIST_PT_PLANE( _pt, _plane)

Parameters

fz_xyz_td * _pt [Input]

3d point.

plane * _plane [Input]

plane.

Returns

distance between the 3d point and the plane

Return Type: double

Availability

5.0.0.0

See Also

FZ_MATH_3D_VEC_LEN_SQUARED, FZ_MATH_3D_DIST_PT_PT_SQUARED, FZ_MATH_3D_DIST_PT_PT, FZ_MATH_3D_IS_EQUAL_PTS, FZ_MATH_3D_CREATE_VEC, FZ_MATH_3D_SCALE_XYZ, FZ_MATH_3D_ADD_XYZ, FZ_MATH_3D_MID_PT, FZ_MATH_3D_DOT_PROD,

Defined in

fz_math_api.h