API / geotoolkit / schematics / builder / CompressedViewModeBuilder / CompressedViewModeBuilder
builder.CompressedViewModeBuilder.CompressedViewModeBuilder
Builder for schematics "Compressed" view mode
↳
CompressedViewModeBuilder
Constructors
Methods
Constructors
• new CompressedViewModeBuilder(options?)
| Name | Type |
|---|---|
Optional options | Options |
AbstractViewModeBuilder.constructor
Methods
▸ build(it, modelLimits?): Object
Builds view mode
Throws
if ambiguity in compression mode found
| Name | Type | Description |
|---|---|---|
it | Iterator<ComponentNode> | component nodes iterator |
Optional modelLimits | Rect | limits to layout components within |
Object
build options
| Name | Type | Description |
|---|---|---|
boundsdepths | number[] | bounds depths |
modellimitsdepths | number[] | model limits depths |
▸ getClassName(): string
string
AbstractViewModeBuilder.getClassName
▸ Protected getContentModelLimits(it): Rect
| Name | Type |
|---|---|
it | Iterator<ComponentNode> |
AbstractViewModeBuilder.getContentModelLimits
▸ getOptions(): Required<Options>
Required<Options>
AbstractViewModeBuilder.getOptions
▸ Protected prepareSetupComponentNodesBounds(srcDepths, dstDepths): void
| Name | Type |
|---|---|
srcDepths | number[] |
dstDepths | number[] |
void
AbstractViewModeBuilder.prepareSetupComponentNodesBounds
▸ setOptions(options): CompressedViewModeBuilder
| Name | Type |
|---|---|
options | Options |
AbstractViewModeBuilder.setOptions
▸ 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
AbstractViewModeBuilder.setupComponentNodesBounds
▸ 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
AbstractViewModeBuilder.setupMarkersBounds
▸ Protected setupNonMarkersBounds(it): void
| Name | Type |
|---|---|
it | Iterator<ComponentNode> |
void
AbstractViewModeBuilder.setupNonMarkersBounds
▸ Static getClassName(): string
string