Click or drag to resize

BrepCreateFromCornerPoints Method (Point3d, Point3d, Point3d, Point3d, Double)

Makes a Brep with one face from four corner points.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public static Brep CreateFromCornerPoints(
	Point3d corner1,
	Point3d corner2,
	Point3d corner3,
	Point3d corner4,
	double tolerance
)

Parameters

corner1
Type: Rhino.GeometryPoint3d
A first corner.
corner2
Type: Rhino.GeometryPoint3d
A second corner.
corner3
Type: Rhino.GeometryPoint3d
A third corner.
corner4
Type: Rhino.GeometryPoint3d
A fourth corner.
tolerance
Type: SystemDouble
Minimum edge length allowed before collapsing the side into a singularity.

Return Value

Type: Brep
A boundary representation, or null on error.
See Also