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.Distance.PointToPoint(Tekla.Structures.Geometry3d.Point,Tekla.Structures.Geometry3d.Point)

DistancePointToPoint Method

Returns the distance between the given two points.

Namespace:  Tekla.Structures.Geometry3d
Assembly:  Tekla.Structures (in Tekla.Structures.dll) Version: 2020.0.0.0 (2020.0.55582.0)
Syntax
public static double PointToPoint(
	Point Point1,
	Point Point2
)

Parameters

Point1
Type: Tekla.Structures.Geometry3dPoint
The first point to be used.
Point2
Type: Tekla.Structures.Geometry3dPoint
The second point to be used.

Return Value

Type: Double
The distance between the given points.
See Also