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.

OBBIntersects Method (LineSegment)

Tests if current OBB intersects with the given LineSegment

Namespace:  Tekla.Structures.Geometry3d
Assembly:  Tekla.Structures (in Tekla.Structures.dll) Version: 2021.0.0
public bool Intersects(
	LineSegment lineSegment


Type: Tekla.Structures.Geometry3dLineSegment
LineSegment to test against

Return Value

Type: Boolean
True if the OBB intersects with the given LineSegment, otherwise false
Exception Condition
ArgumentNullException Thrown when null is assigned to the lineSegment parameter.
See Also