RhinoCommon API
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)

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: CurveOffset curves on success, or null on failure.

Exception | Condition |
---|---|
ArgumentNullException | If face is null. |

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.8