API / geotoolkit / schematics / utils / BoundsCalculationRegistry / BoundsCalculationRegistry
utils.BoundsCalculationRegistry.BoundsCalculationRegistry
Registry which stores ComponentNodes' bounds calculations.
Constructors
- [new BoundsCalculationRegistry()](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.schematics.utils.boundscalculationregistry.boundscalculationregistry.md#new boundscalculationregistry())
Methods
Methods
▸ fromObject(bc): BoundsCalculation
Gets bounds calculation instance
| Name | Type | Description |
|---|---|---|
bc | string | BoundsCalculation | bounds calculation instance or registered name |
bounds calculation instance
▸ getBoundsCalculation(name): BoundsCalculation
Gets bounds calculation implementation
| Name | Type | Description |
|---|---|---|
name | string | bounds calculation name |
bounds calculation implementation
▸ getClassName(): string
string
▸ registerBoundsCalculation(name, bc): BoundsCalculationRegistry
Register bounds calculation implementation
| Name | Type | Description |
|---|---|---|
name | string | bounds calculation name |
bc | BoundsCalculation | geometry bounds calculation implementation |
▸ Static getClassName(): string
string
▸ Static getDefaultInstance(): BoundsCalculationRegistry
Returns default instance of the BoundsCalculations registry.<br> The instance contains:<br>
- <'Rectangular' | new RectangularBoundsCalculation()><br>
- <'Polygonal' | new PolygonalBoundsCalculation()><br>
- <'Shapes' | new ShapesBoundsCalculation()><br>
BoundsCalculations registry