API / geotoolkit3d / shapes / IntersectionPanel2D / IntersectionPanel2D
shapes.IntersectionPanel2D.IntersectionPanel2D
Intersection projection to 2D, can contain different type of intersection geometries, such as cells, lines and paths
Constructors
- [new IntersectionPanel2D(options)](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit3d.shapes-6.intersectionpanel2d.intersectionpanel2d.md#new intersectionpanel2d(options))
Methods
Methods
▸ addCell(cell): IntersectionPanel2D
Add cell
| Name | Type | Description |
|---|---|---|
cell | IntersectionCell2D | cell to add |
this
▸ addHorizon(horizon): IntersectionPanel2D
Add horizon
| Name | Type | Description |
|---|---|---|
horizon | Horizon | horizon to add |
this
▸ clearCells(): IntersectionPanel2D
Clear cells
this
▸ clearHorizons(): IntersectionPanel2D
Clear horizons
this
▸ clone(): IntersectionPanel2D
Return clone
clone
▸ copyConstructor(src): IntersectionPanel2D
Copy data from specified source
| Name | Type | Description |
|---|---|---|
src | IntersectionPanel2D | source to copy from |
this
▸ getBounds(): Rect
Returns panel bounds in model coordinate system
panel bounds
▸ getCell(index): IntersectionCell2D
Return cell by specified index
| Name | Type | Description |
|---|---|---|
index | number | index of cell |
cell
▸ getCells(): Iterator<IntersectionCell2D>
Return iterator with inner cells
Iterator<IntersectionCell2D>
iterator with cells
▸ getCellsCount(): number
Return cells count
number
cells count
▸ getClassName(): string
string
▸ getGridLimits(): Rect
Returns inner grid model limits, in panel model coordinates
panel inner grid model limits
▸ getHorizon(index): Horizon
Return horizon by specified index
| Name | Type | Description |
|---|---|---|
index | number | index of horizon |
horizon
▸ getHorizons(): Iterator<Horizon>
Return horizons
horizons
▸ getHorizonsCount(): number
Return horizons count
number
horizons count
▸ getModelLimits(): Rect
Returns panel inner model limits
panel inner model limits
▸ Static getClassName(): string
string