Last updated

API / geotoolkit / schematics / utils / RectangularBoundsCalculation / RectangularBoundsCalculation

Class: RectangularBoundsCalculation

utils.RectangularBoundsCalculation.RectangularBoundsCalculation

Class to calculate schematics component bounds as Rect's coordinates

Hierarchy

Table of contents

Constructors
Methods

Contents

Constructors

new RectangularBoundsCalculation()

new RectangularBoundsCalculation()

Overrides

BoundsCalculation.constructor

Methods

getClassName

getClassName(): string

Returns

string

Inherited from

BoundsCalculation.getClassName


getComponentBounds

getComponentBounds(node, isCompressed?): { x: number[] ; y: number[] } | { x: number[] ; y: number[] }[]

Calculates schematics component bounds

Parameters

Name Type Description
nodeComponentNodecomponent
Optional isCompressedboolean

Returns

{ x: number[] ; y: number[] } | { x: number[] ; y: number[] }[]

component bounds

Overrides

BoundsCalculation.getComponentBounds


getClassName

Static getClassName(): string

Returns

string

Inherited from

BoundsCalculation.getClassName