API / geotoolkit / schematics / builder / AbstractViewModeBuilder / AbstractViewModeBuilder
builder.AbstractViewModeBuilder.AbstractViewModeBuilder
Abstract builder for schematics non-regular view modes
AbstractViewModeBuilder
Constructors
Methods
Methods
▸ Abstract build(it, limits?): Object
Builds view mode
| Name | Type | Description |
|---|---|---|
it | Iterator<ComponentNode> | component nodes iterator |
Optional limits | Rect | limits to layout components within |
Object
| Name | Type | Description |
|---|---|---|
boundsdepths | number[] | bounds depths |
modellimitsdepths | number[] | model limits depths |
▸ getClassName(): string
string
▸ Protected getContentModelLimits(it): Rect
| Name | Type |
|---|---|
it | Iterator<ComponentNode> |
▸ Abstract getOptions(): Record<string, any>
Record<string, any>
▸ Protected prepareSetupComponentNodesBounds(srcDepths, dstDepths): void
| Name | Type |
|---|---|
srcDepths | number[] |
dstDepths | number[] |
void
▸ Abstract setOptions(options): AbstractViewModeBuilder
| Name | Type |
|---|---|
options | Record<string, any> |
▸ setupComponentNodesBounds(srcDepths, dstDepths, it, markerValueMin, markerValueMax): void
Sets up components bounds
Throws
if arrays are not defined or not equal in length
| Name | Type | Description |
|---|---|---|
srcDepths | number[] | srcDepths |
dstDepths | number[] | dstDepths |
it | Iterator<ComponentNode> | component nodes iterator |
markerValueMin | number | min marker value (for drawing) |
markerValueMax | number | max marker value (for drawing) |
void
▸ Protected setupMarkersBounds(it, markerValueMin, markerValueMax): void
| Name | Type | Description |
|---|---|---|
it | Iterator<ComponentNode> | component nodes iterator |
markerValueMin | number | min marker value (for drawing) |
markerValueMax | number | max marker value (for drawing) |
void
▸ Protected setupNonMarkersBounds(it): void
| Name | Type |
|---|---|
it | Iterator<ComponentNode> |
void
▸ Static getClassName(): string
string