Method ToTeklaAabb
- Namespace
- GeometryHelper.TeklaConvert
- Assembly
- GeometryHelper.TeklaConvert.dll
ToTeklaAabb(GeoAabb3)
Converts a GeometryHelper bounding box to a Tekla bounding box.
public static AABB ToTeklaAabb(this GeoAabb3 box)
Parameters
boxGeoAabb3The GeometryHelper bounding box to convert.
Returns
- AABB
The converted Tekla Tekla.Structures.Geometry3d.AABB bounding box.
Exceptions
- InvalidOperationException
Thrown when the box is empty, which Tekla cannot express.
ToTeklaAabb(IEnumerable<GeoAabb3>)
Converts a sequence of GeometryHelper bounding boxes to a list of Tekla bounding boxes.
public static List<AABB> ToTeklaAabb(this IEnumerable<GeoAabb3> boxes)
Parameters
boxesIEnumerable<GeoAabb3>The sequence of GeometryHelper bounding boxes to convert.
Returns
- List<AABB>
A list of converted Tekla Tekla.Structures.Geometry3d.AABB bounding boxes.