CurveOffsetNormalToSurface Method |
Rhino for Mac 5.1
Finds a curve by offsetting an existing curve normal to a surface.
The caller is responsible for ensuring that the curve lies on the input surface.
Namespace: Rhino.GeometryAssembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntaxpublic Curve OffsetNormalToSurface(
Surface surface,
double height
)
Public Function OffsetNormalToSurface (
surface As Surface,
height As Double
) As Curve
Parameters
- surface
- Type: Rhino.GeometrySurface
Surface from which normals are calculated. - height
- Type: SystemDouble
offset distance (distance from surface to result curve)
Return Value
Type:
Curve
Offset curve at distance height from the surface. The offset curve is
interpolated through a small number of points so if the surface is irregular
or complicated, the result will not be a very accurate offset.
See Also