API / geotoolkit / schematics / utils / BoundsCalculationRegistry / BoundsCalculationRegistry
utils.BoundsCalculationRegistry.BoundsCalculationRegistry
Registry which stores ComponentNodes' bounds calculations.
Constructors
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.
The instance contains:
- <'Rectangular' | new RectangularBoundsCalculation()>
- <'Polygonal' | new PolygonalBoundsCalculation()>
- <'Shapes' | new ShapesBoundsCalculation()>
BoundsCalculations registry