M_Rhino_Geometry_Curve_OffsetOnSurface - mcneel/rhinocommon-api-docs GitHub Wiki
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
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()
- 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.
Type: Curve[]
Offset curves on success, or null on failure.
Exception | Condition |
---|---|
ArgumentNullException | If face is null. |
Supported in: 6.0.16224.21491, 5D58w