Area Dimension
This PMI object represents a dimension of an area of a polygonal region described by an arbitrary number of points. Below we will consider this object in detail.
Object
Common type of the area dimension object (TypeScript):
export type C3DViewAreaDimension = {
type: C3DViewObjectTypes.AreaDimension
uuid?: string
points: C3DViewPoint[]
placement?: C3DViewPlacement
options: C3DViewDimensionOptions
userData: C3DUserData
}
The properties type, uuid, and userData are described here. The property options is described here. Additionally for this PMI object:
type can be
C3DViewObjectTypes.AreaDimension
or a string"AreaDimension"
;userData object is created in the process when returned in the
onCreate
event callback.
points is an array of points to build an object.
placement is a plane into which all of the object points are projected.