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

OBBDistanceTo Method (Line)

Calculates the distance from OBB to given Line.

Namespace:  Tekla.Structures.Geometry3d
Assembly:  Tekla.Structures (in Tekla.Structures.dll) Version: 2019.0.0.0 (2019.0.0.0)
Syntax
public double DistanceTo(
	Line line
)

Parameters

line
Type: Tekla.Structures.Geometry3dLine
Line to calculate against.

Return Value

Type: Double
Distance from OBB to given Line.
Exceptions
Exception Condition
ArgumentNullException Thrown when null is assigned to the line parameter.
See Also