formZ SDK | 5.0 API Reference | System | Math
Description
Rotates a 3d point around a 3d line segment (defined by it's start and end points) by an angle.
Note : pt and rot_pt can be passed as the same pointer.
Plugin Prototype
fzrt_error_td fz_math_3d_rot_pt_around_line(
line_start, | |
line_end, | |
pt, | |
double | angle, |
rot_pt ) |
Parameters
line_start [Input]
start point of 3d line segment to point about
line_end [Input]
end point of 3d line segment to rotate point about
pt [Input]
3d point to rotate about line
angle [Input]
angle to rotate the point
rot_pt [Result]
rotated 3d point
Returns
Error codes
Availability
5.0.0.0
Example Files
See Also
Function Set
Defined in