PlaneCreateFromNormal Method |
Constructs a plane from a point and normal vector.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 8.0
Syntax public static Plane CreateFromNormal(
Point3d origin,
Vector3d normal
)
Public Shared Function CreateFromNormal (
origin As Point3d,
normal As Vector3d
) As Plane
Parameters
- origin
- Type: Rhino.GeometryPoint3d
Point on the plane. - normal
- Type: Rhino.GeometryVector3d
Non-zero normal to the plane.
Return Value
Type:
PlaneA valid plane if successful, or Plane.Unset on failure.
See Also