formZ SDK | 5.0 API Reference | System | Math

# fz_math_3d_get_3rd_pt_on_plane

Description

Given a 3d vector and two 3d points, returns a third 3d point, which is on the plane (defined by the normal formed by the cross of the line (p1 to p2) and the vector).

Plugin Prototype

fzrt_error_td fz_math_3d_get_3rd_pt_on_plane(

fz_xyz_td * | vec,
fz_xyz_td * | p1,
fz_xyz_td * | p2,
fz_xyz_td * | p3 )

Parameters

vec [Input]

3d vector

p1 [Input]

3d point 1

p2 [Input]

3d point 2

p3 [Result]

3d point on the plane

Returns

Error codes

Availability

5.0.0.0

Example Files

util_math_3d.fsl

Function Set

fz_math_fset

Defined in

fz_math_api.h