Basic (and thus efficient) implementation of 3D vector. This file loads either ruby version or C extension, and adds methods from module CoordinateVector.
point_plane_distance(plane_normal_vec, plane_point)
Calculate perprndicular distance of the point to a plane defined by its normal vector and one point that lies on the plane.
point_line_distance(line_point_1, line_point_2)
Calculate perprndicular distance of the point to a line defined by two points