/// <summary> /// 2D plane space to 3D world space. /// Plane space is defined by a normal-frame from Point and Normal of the plane. /// </summary> public static M44d GetPlaneToWorld(this Plane3d self) { M44d.NormalFrame(self.Point, self.Normal, out M44d local2global, out M44d _); return(local2global); }
/// <summary> /// 3D world space to 2D plane space. /// Plane space is defined by a normal-frame from Point and Normal of the plane. /// </summary> public static M44d GetWorldToPlane(this Plane3d self) { M44d.NormalFrame(self.Point, self.Normal, out M44d _, out M44d global2local); return(global2local); }