API Reference

Detailed and full API reference helps you master Tekla development

This is the most recent version of Tekla Open API.
For older versions, please visit Tekla Warehouse.

Meta.Microsoft.Help.Id
M:Tekla.Structures.Geometry3d.Point.CompareTo(System.Object)

PointCompareTo Method

Compares two points. To use binarysearch somekind of sorting should be used.

Namespace:  Tekla.Structures.Geometry3d
Assembly:  Tekla.Structures (in Tekla.Structures.dll) Version: 2020.0.0.0 (2020.0.55582.0)
Syntax
public int CompareTo(
	Object obj
)

Parameters

obj
Type: SystemObject
The point to be compared.

Return Value

Type: Int32
0 if both are equal, -1 if this point is before, 1 if this point is after.

Implements

IComparableCompareTo(Object)
See Also