API / geotoolkit / schematics / utils / ShapesBoundsCalculation / ShapesBoundsCalculation
utils.ShapesBoundsCalculation.ShapesBoundsCalculation
Class to calculate schematics component bounds as Rect's coordinates
↳
ShapesBoundsCalculation
Constructors
- [new ShapesBoundsCalculation()](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.schematics.utils.shapesboundscalculation.shapesboundscalculation.md#new shapesboundscalculation())
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