Click or drag to resize

BrepCreateVariationalPatch Method (RhinoDoc, IEnumerableBrepCurveConstraint, IEnumerableBrepCurveConstraint, IEnumerableBrepPointConstraint, BrepVariationalPatchSettings, Boolean, CancellationToken, IProgressDouble, BrepVariationalPatchResult)

Create a patch using variational approach

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static Brep CreateVariationalPatch(
	RhinoDoc doc,
	IEnumerable<BrepCurveConstraint> edges,
	IEnumerable<BrepCurveConstraint> internalCurves,
	IEnumerable<BrepPointConstraint> points,
	BrepVariationalPatchSettings settings,
	bool multiThreading,
	CancellationToken cancelToken,
	IProgress<double> progress,
	out BrepVariationalPatchResult results
)

Parameters

doc
Type: RhinoRhinoDoc
The Rhino document. Use null if not available.
edges
Type: System.Collections.GenericIEnumerableBrepCurveConstraint
Edges with continuity constraints
internalCurves
Type: System.Collections.GenericIEnumerableBrepCurveConstraint
Internal curves
points
Type: System.Collections.GenericIEnumerableBrepPointConstraint
Internal points
settings
Type: Rhino.GeometryBrepVariationalPatchSettings
The settings to use while creating the surface
multiThreading
Type: SystemBoolean
Use multi-threading during the calculation
cancelToken
Type: System.ThreadingCancellationToken
The cancellation token.
progress
Type: SystemIProgressDouble
The provider for progress updates.
results
Type: Rhino.GeometryBrepVariationalPatchResult
The results of the patching algorithm.

Return Value

Type: Brep
Trimmed surface if successful, null otherwise
See Also