PointCompare

Compares two 3-D points.

Syntax

rhinoscriptsyntax.PointCompare (point1, point2, tolerance=None)

rhinoscript.pointvector.PointCompare (point1, point2, tolerance=None)

Parameters

point1

Required.  List of 3 numbers or Point3d.  The first 3-D point to compare.

point2

Required.  List of 3 numbers or Point3d.  The second 3-D point to compare.

tolerance

Optional.  Number.  The tolerance to use for the comparison. If omitted, Rhino's internal zero tolerance is used.

Returns

Boolean

True or False

None

On error.

Example

import rhinoscriptsyntax as rs

point1 = (1,1,1)

point2 = (2,2,2)

print rs.PointCompare(point1, point2)

Also See

PointAdd

PointDivide

PointScale

PointSubtract

PointTransform