RhinoCommon API
SurfaceShortPath Method |
Constructs a geodesic between 2 points, used by ShortPath command in Rhino.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 5.0

public Curve ShortPath( Point2d start, Point2d end, double tolerance )
Public Function ShortPath ( start As Point2d, end As Point2d, tolerance As Double ) As Curve
Parameters
- start
- Type: Rhino.GeometryPoint2d
start point of curve in parameter space. Points must be distinct in the domain of the surface. - end
- Type: Rhino.GeometryPoint2d
end point of curve in parameter space. Points must be distinct in the domain of the surface. - tolerance
- Type: SystemDouble
tolerance used in fitting discrete solution.
Return Value
Type: Curvea geodesic curve on the surface on success. null on failure.
