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

OBBClosestPointTo Method (Point)

Calculates the closest point in OBB to given point.

Namespace:  Tekla.Structures.Geometry3d
Assembly:  Tekla.Structures (in Tekla.Structures.dll) Version: 2019.0.0.0 (2019.0.0.0)
Syntax
public Point ClosestPointTo(
	Point point
)

Parameters

point
Type: Tekla.Structures.Geometry3dPoint
Point to calculate against.

Return Value

Type: Point
Closest point in OBB to given point.
Exceptions
Exception Condition
ArgumentNullException Thrown when null is assigned to the point parameter.
See Also