Surface.ShortPath Method

SurfaceShortPath Method

Constructs a geodesic between 2 points, used by ShortPath command in Rhino.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
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 thie surface.
end
Type: Rhino.GeometryPoint2d
end point of curve in parameter space. Points must be distinct in the domain of thie surface.
tolerance
Type: SystemDouble
tolerance used in fitting discrete solution.

Return Value

Type: Curve
a geodesic curve on the surface on success. null on failure.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also