Skip to content

Point2d.LessThan

Public Operator

Determines whether the first specified point comes before (has inferior sorting value than) the second point.

Coordinates evaluation priority is first X, then Y.

Namespace: Rhino.Geometry

Assembly: RhinoCommon (in RhinoCommon.dll)

**Since:**5.0

Syntax

public static bool operator <(
Point2d a,
Point2d b
)

Parameters

a

Type: Rhino.Geometry.Point2d
First point.

b

Type: Rhino.Geometry.Point2d
Second point.

Return Value

Type:Boolean
true if a.X is smaller than b.X, or a.X == b.X and a.Y is smaller than b.Y; otherwise, false.