API / geotoolkit / schematics / utils / RectangularBoundsCalculation / RectangularBoundsCalculation
utils.RectangularBoundsCalculation.RectangularBoundsCalculation
Class to calculate schematics component bounds as Rect's coordinates
↳
RectangularBoundsCalculation
Constructors
Constructors
• new RectangularBoundsCalculation()
BoundsCalculation.constructor
Methods
▸ getClassName(): string
string
BoundsCalculation.getClassName
▸ getComponentBounds(node, isCompressed?): { x: number[] ; y: number[] } | { x: number[] ; y: number[] }[]
Calculates schematics component bounds
| Name | Type | Description |
|---|---|---|
node | ComponentNode | component |
Optional isCompressed | boolean |
{ x: number[] ; y: number[] } | { x: number[] ; y: number[] }[]
component bounds
BoundsCalculation.getComponentBounds
▸ Static getClassName(): string
string