Determines if the shortest distance from a line to a point or another line is greater than a specified distance.
rhinoscriptsyntax.LineIsFartherThan (line, distance, point_or_line)
rhinoscript.line.LineIsFartherThan (line, distance, point_or_line)
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. |
Boolean |
True if the shortest distance from the line to the other object is greater than distance, False otherwise. |
None |
On error. |
import rhinoscriptsyntax as rs
line = (0,0,0), (10,10,0)
testPoint = (10,5,0)
print rs.LineIsFartherThan(line, 3, testPoint)