Click or drag to resize

SurfaceVariableOffset Method (Double, Double, Double, Double, IEnumerablePoint2d, IEnumerableDouble, Double)

Copies a surface so that all locations at the corners, and from specified interior locations, of the copied surface are specified distances from the original surface.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.13
Syntax
public Surface VariableOffset(
	double uMinvMin,
	double uMinvMax,
	double uMaxvMin,
	double uMaxvMax,
	IEnumerable<Point2d> interiorParameters,
	IEnumerable<double> interiorDistances,
	double tolerance
)

Parameters

uMinvMin
Type: SystemDouble
Offset distance at Domain(0).Min, Domain(1).Min.
uMinvMax
Type: SystemDouble
Offset distance at Domain(0).Min, Domain(1).Max.
uMaxvMin
Type: SystemDouble
Offset distance at Domain(0).Max, Domain(1).Min.
uMaxvMax
Type: SystemDouble
Offset distance at Domain(0).Max, Domain(1).Max.
interiorParameters
Type: System.Collections.GenericIEnumerablePoint2d
An array of interior UV parameters to offset from.
interiorDistances
Type: System.Collections.GenericIEnumerableDouble
>An array of offset distances at the interior UV parameters.
tolerance
Type: SystemDouble
The offset tolerance.

Return Value

Type: Surface
The offset surface if successful, null otherwise.
See Also