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.OBB.#ctor(Tekla.Structures.Geometry3d.Point,Tekla.Structures.Geometry3d.Vector[],System.Double[])

OBB Constructor (Point, Vector, Double)

Initializes a new instance of the OBB class.

Namespace:  Tekla.Structures.Geometry3d
Assembly:  Tekla.Structures (in Tekla.Structures.dll) Version: 2020.0.0.0 (2020.0.55582.0)
Syntax
public OBB(
	Point center,
	Vector[] axis,
	double[] extent
)

Parameters

center
Type: Tekla.Structures.Geometry3dPoint
Center point of the OBB.
axis
Type: Tekla.Structures.Geometry3dVector
Three element array of unit-length vectors parallel the axis of the OBB.
extent
Type: SystemDouble
Three element array of the OBB extents (half-lengths of the edges).
Exceptions
Exception Condition
ArgumentException Thrown when initialization fails.
See Also