RhinoCommon API
NurbsSurfaceCreateFromCorners Method (Point3d, Point3d, Point3d, Point3d, Double) |
Makes a surface from 4 corner points.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 5.0

public static NurbsSurface CreateFromCorners( Point3d corner1, Point3d corner2, Point3d corner3, Point3d corner4, double tolerance )
Public Shared Function CreateFromCorners ( corner1 As Point3d, corner2 As Point3d, corner3 As Point3d, corner4 As Point3d, tolerance As Double ) As NurbsSurface
Parameters
- corner1
- Type: Rhino.GeometryPoint3d
The first corner. - corner2
- Type: Rhino.GeometryPoint3d
The second corner. - corner3
- Type: Rhino.GeometryPoint3d
The third corner. - corner4
- Type: Rhino.GeometryPoint3d
The fourth corner. - tolerance
- Type: SystemDouble
Minimum edge length without collapsing to a singularity.
Return Value
Type: NurbsSurfaceThe resulting surface or null on error.
