Curve.OffsetOnSurface Method (BrepFace, Point2d, Double)

CurveOffsetOnSurface Method (BrepFace, Point2d, Double)

Offset a curve on a brep face 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)
Syntax
public Curve[] OffsetOnSurface(
	BrepFace face,
	Point2d throughPoint,
	double fittingTolerance
)
Public Function OffsetOnSurface ( 
	face As BrepFace,
	throughPoint As Point2d,
	fittingTolerance As Double
) As Curve()

Parameters

face
Type: Rhino.GeometryBrepFace
The brep face 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 face is null.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also