Constructors
constructor
- new Extent3D(minX?, minY?, minZ?, maxX?, maxY?, maxZ?): Extent3D
Parameters
- minX: number = Infinity
- minY: number = Infinity
- minZ: number = Infinity
- maxX: number = -Infinity
- maxY: number = -Infinity
- maxZ: number = -Infinity
Methods
extendFlatCoordinates
- extendFlatCoordinates(flatCoordinates, stride): void
Parameters
- flatCoordinates: number[]
- stride: number
Returns void
extendWithGeometry
- extendWithGeometry(geometry?): void
Parameters
Optional
geometry: Geometry
Returns void
extendWithHeightInfo
- extendWithHeightInfo(heightInfo): void
Parameters
- heightInfo: {
groundLevelOrMinHeight: number;
heightReference: NONE;
layout: GeometryLayout;
perPositionHeight: boolean;
} & ExtrusionHeightInfo
Returns void
extendXY
- extendXY(x, y): void
Returns void
extendXYZ
- extendXYZ(x, y, z): void
Parameters
- x: number
- y: number
- z: number
Returns void
extendZ
- extendZ(z): void
Returns void
getCenter
- getCenter(): Coordinate
Returns Coordinate
getSize
- getSize(): [number, number, number]
Returns [number, number, number]
isEmpty
- isEmpty(): boolean
Returns boolean
to2D
- to2D(): Extent
Returns Extent
toArray
- toArray(): [number, number, number, number, number, number]
Returns [number, number, number, number, number, number]
Static
fromArray
- fromArray(array): Extent3D
Parameters
- array: [number, number, number, number, number, number]
Static
fromCoordinates
- fromCoordinates(coordinates): Extent3D
Parameters
- coordinates: Coordinate[]
Static
fromGeometry
- fromGeometry(geometry?): Extent3D
Parameters
Optional
geometry: Geometry
Static
fromHeightInfo
- fromHeightInfo(heightInfo): Extent3D
Parameters
- heightInfo: {
groundLevelOrMinHeight: number;
heightReference: NONE;
layout: GeometryLayout;
perPositionHeight: boolean;
} & ExtrusionHeightInfo
Properties