Click or drag to resize

SubDCreateFromSurface Method

Create a SubD that approximates the surface. If the surface is a SubD friendly NURBS surface and withCorners is true, then the SubD and input surface will have the same geometry.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static SubD CreateFromSurface(
	Surface surface,
	SubDFromSurfaceMethods method,
	bool corners
)

Parameters

surface
Type: Rhino.GeometrySurface

[Missing <param name="surface"/> documentation for "M:Rhino.Geometry.SubD.CreateFromSurface(Rhino.Geometry.Surface,Rhino.Geometry.SubDFromSurfaceMethods,System.Boolean)"]

method
Type: Rhino.GeometrySubDFromSurfaceMethods
Selects the method used to calculate the SubD.
corners
Type: SystemBoolean
If the surface is open, then the corner vertices with be tagged as VertexTagCorner. This makes the resulting SubD have sharp corners to match the appearance of the input surface.

Return Value

Type: SubD

[Missing <returns> documentation for "M:Rhino.Geometry.SubD.CreateFromSurface(Rhino.Geometry.Surface,Rhino.Geometry.SubDFromSurfaceMethods,System.Boolean)"]

See Also