formZ SDK | 5.0 API Reference | System | Math
Description
Given a 3d line segment (defined by it's start and end points)
and a ratio (between 0.0 and 1.0),
interpolates a 3d point on the line segment.
For example:
ratio 0.0 : point is at line_start
ratio 0.5 : point is the midpoint of the line segment
ratio 1.0 : point is at line_end
Plugin Prototype
fzrt_error_td fz_math_3d_interp_pt_on_line(
line_start, | |
line_end, | |
double | ratio, |
pt ) |
Parameters
line_start [Input]
start point of 3d line segment
line_end [Input]
ens point of 3d line segment
ratio [Input]
ratio
Range: 0.0 <= ratio <= 1.0
pt [Result]
interpolated 3d point
Returns
Error codes
Availability
5.0.0.0
Example Files
See Also
Function Set
Defined in