API / geotoolkit / schematics / utils / ShapesBoundsCalculation / ShapesBoundsCalculation
utils.ShapesBoundsCalculation.ShapesBoundsCalculation
Class to calculate schematics component bounds as Rect's coordinates
↳
ShapesBoundsCalculation
Constructors
Constructors
• new ShapesBoundsCalculation()
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