formZ SDK | 5.0 API Reference | System | Math
Description
Calculates the perpendicular distance between a 3d point and a 3d line segment (defined by it's start and end points).
Plugin Prototype
fzrt_error_td fz_math_3d_dist_pt_line(
line_start, | |
line_end, | |
pt, | |
double * | dist ) |
Parameters
line_start [Input]
start point of 3d line segment
line_end [Input]
end point of 3d line segment
pt [Input]
3d point
dist [Result]
distance between line and point
Returns
Error codes
Availability
5.0.0.0
Example Files
See Also
FZ_MATH_3D_DIST_PT_PLANE, fz_math_2d_dist_pt_line_seg
Function Set
Defined in