Placement3d Class

The placement of a GeometricElement3d. This includes the origin, orientation, and size (bounding box) of the element. All geometry of a GeometricElement are relative to its placement.

Implements

Methods

Name Description
constructor(origin: Point3d, angles: YawPitchRollAngles, bbox: ElementAlignedBox3d): Placement3d    
calculateRange(): AxisAlignedBox3d Calculate the axis-aligned bounding box for this placement.  
getWorldCorners(out?: Frustum): Frustum Get the 8 corners, in world coordinates, of this placement.  
setFrom(other: Placement3d): void Set the contents of this Placement3d from another Placement3d  
fromJSON(json?: Placement3dProps): Placement3d Static Create a new Placement3d from a Placement3dProps.  

Properties

Name Type Description
angles ConstructorProperty YawPitchRollAngles    
bbox ConstructorProperty ElementAlignedBox3d    
isValid Accessor ReadOnly boolean Determine whether this Placement3d is valid.  
origin ConstructorProperty Point3d    
rotation Accessor ReadOnly Matrix3d Get the rotation from local coordinates of this placement to world coordinates.  
transform Accessor ReadOnly Transform Get the transform from local coordinates of this placement to world coordinates.  

Defined in

Last Updated: 03 June, 2019