Click or drag to resize

CurveOffsetOnSurface Method (Surface, Point2d, Double)

Offset a curve on a surface. This curve must lie on the surface.

This overload allows to specify a surface point at which the offset will pass.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public Curve[] OffsetOnSurface(
	Surface surface,
	Point2d throughPoint,
	double fittingTolerance
)

Parameters

surface
Type: Rhino.GeometrySurface
A surface on which to offset.
throughPoint
Type: Rhino.GeometryPoint2d
2d point on the brep face to offset through.
fittingTolerance
Type: SystemDouble
A fitting tolerance.

Return Value

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