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.

Point Class

The Point class represents a single position in 3D space.
Inheritance Hierarchy

Namespace:  Tekla.Structures.Geometry3d
Assembly:  Tekla.Structures (in Tekla.Structures.dll) Version: 2021.0.0
public class Point : IComparable

The Point type exposes the following members.

  Name Description
Public method Point
Instantiates a point with zero members.
Public method Point(Point)
Instantiates a point with the given other point.
Public method Point(Double, Double)
Instantiates a point with the given coordinates and zero Z-coordinate.
Public method Point(Double, Double, Double)
Instantiates a point with the given coordinates.
  Name Description
Public methodStatic member AreEqual
Compares two points and tells whether they are equal.
Public method CompareTo
Compares two points. To use binarysearch somekind of sorting should be used.
Public method Equals
Returns true if the current object and the given object are equal.
(Overrides ObjectEquals(Object).)
Public method GetHashCode
Returns a hash code for the point. Notice, in extremely rare cases, you might not get the same hash code for two points even though they are considered equal! This should, however, happen only in extremely rare cases!
(Overrides ObjectGetHashCode.)
Public method ToString
Formats the point into a string.
(Overrides ObjectToString.)
Public method Translate
Translates the point using the given vector.
Public method Zero
Zeros all the members of the point.
  Name Description
Public operatorStatic member Addition
Returns the sum of the given two points.
Public operatorStatic member Equality
Compares the given two points for similarity.
Public operatorStatic member Inequality
Compares if the two given points are not similar.
Public operatorStatic member Subtraction
Returns the difference of the given two points.
  Name Description
Public fieldStatic member EPSILON_SQUARED
A boundary value for comparing if two points are similar.
Public fieldStatic member HASH_SEED
A default seed value for creating hash codes.
Public field X
The X-coordinate of the point.
Public field Y
The Y-coordinate of the point.
Public field Z
The Z-coordinate of the point.
See Also