LineIsFartherThan

Determines if the shortest distance from a line to a point or another line is greater than a specified distance.

Syntax

rhinoscriptsyntax.LineIsFartherThan (line, distance, point_or_line)

rhinoscript.line.LineIsFartherThan (line, distance, point_or_line)

Parameters

line

Required.  List of 6 numbers, 2 Point3d, or Line.

distance

Required.  Number.  The distance.

point_or_line

Required.  Point3d or Line.  The test point or test line.

Returns

Boolean

True if the shortest distance from the line to the other object is greater than distance, False otherwise.

None

On error.

Example

import rhinoscriptsyntax as rs

line = (0,0,0), (10,10,0)

testPoint = (10,5,0)

print rs.LineIsFartherThan(line, 3, testPoint)

Also See

LineClosestPoint

LineMaxDistanceTo

LineMinDistanceTo

LinePlane

LineTransform