M_Rhino_Geometry_Curve_OffsetOnSurface - mcneel/rhinocommon-api-docs GitHub Wiki

Curve.OffsetOnSurface 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) Version: Rhino 6.0

Syntax

C#

public Curve[] OffsetOnSurface(
	BrepFace face,
	Point2d throughPoint,
	double fittingTolerance
)

VB

Public Function OffsetOnSurface ( 
	face As BrepFace,
	throughPoint As Point2d,
	fittingTolerance As Double
) As Curve()

Parameters

 

face
Type: Rhino.Geometry.BrepFace
The brep face on which to offset.
throughPoint
Type: Rhino.Geometry.Point2d
2d point on the brep face to offset through.
fittingTolerance
Type: System.Double
A fitting tolerance.

Return Value

Type: Curve[]
Offset curves on success, or null on failure.

Exceptions

 

Exception Condition
ArgumentNullException If face is null.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Curve Class
OffsetOnSurface Overload
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️