compare Method

Perform ordinal comparison to another point. The function returns:

  • Zero if this point is identical to rhs; or
  • A number less than zero if this point is ordered before rhs; or
  • A number greater than zero if this point is ordered after rhs.

compare(rhs: QPoint3d): number

@see OrderedComparator.

Parameter Type Description
rhs QPoint3d  

Returns - number

Defined in

Last Updated: 17 December, 2024