Curve.OffsetOnSurface Method (BrepFace, Double, Double)

CurveOffsetOnSurface Method (BrepFace, Double, Double)

Offset this curve on a brep face surface. This curve must lie on the surface.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public Curve[] OffsetOnSurface(
	BrepFace face,
	double distance,
	double fittingTolerance
)
Public Function OffsetOnSurface ( 
	face As BrepFace,
	distance As Double,
	fittingTolerance As Double
) As Curve()

Parameters

face
Type: Rhino.GeometryBrepFace
The brep face on which to offset.
distance
Type: SystemDouble
A distance to offset (+)left, (-)right.
fittingTolerance
Type: SystemDouble
A fitting tolerance.

Return Value

Type: Curve
Offset curves on success, or null on failure.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf face is null.
See Also