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
)
Public Function OffsetOnSurface (
surface As Surface,
throughPoint As Point2d,
fittingTolerance As Double
) As Curve()
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:
CurveOffset curves on success, or null on failure.
Exceptions See Also