Skip to content

API / geotoolkit3d / shapes / IntersectionPanel2D / IntersectionPanel2D

Class: IntersectionPanel2D

shapes.IntersectionPanel2D.IntersectionPanel2D

Intersection projection to 2D, can contain different type of intersection geometries, such as cells, lines and paths

Table of contents

Constructors
  • [new IntersectionPanel2D(options)](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit3d.shapes-6.intersectionpanel2d.intersectionpanel2d.md#new intersectionpanel2d(options))
Methods

Contents

Constructors

new IntersectionPanel2D(options)

• new IntersectionPanel2D(options?)

Parameters

Name Type
Optional optionsOptions
Methods

addCell

▸ addCell(cell): IntersectionPanel2D

Add cell

Parameters

Name Type Description
cellIntersectionCell2Dcell to add

Returns

IntersectionPanel2D

this


addHorizon

▸ addHorizon(horizon): IntersectionPanel2D

Add horizon

Parameters

Name Type Description
horizonHorizonhorizon to add

Returns

IntersectionPanel2D

this


clearCells

▸ clearCells(): IntersectionPanel2D

Clear cells

Returns

IntersectionPanel2D

this


clearHorizons

▸ clearHorizons(): IntersectionPanel2D

Clear horizons

Returns

IntersectionPanel2D

this


clone

▸ clone(): IntersectionPanel2D

Return clone

Returns

IntersectionPanel2D

clone


copyConstructor

▸ copyConstructor(src): IntersectionPanel2D

Copy data from specified source

Parameters

Name Type Description
srcIntersectionPanel2Dsource to copy from

Returns

IntersectionPanel2D

this


getBounds

▸ getBounds(): Rect

Returns panel bounds in model coordinate system

Returns

Rect

panel bounds


getCell

▸ getCell(index): IntersectionCell2D

Return cell by specified index

Parameters

Name Type Description
indexnumberindex of cell

Returns

IntersectionCell2D

cell


getCells

▸ getCells(): Iterator<IntersectionCell2D&gt;

Return iterator with inner cells

Returns

Iterator<IntersectionCell2D&gt;

iterator with cells


getCellsCount

▸ getCellsCount(): number

Return cells count

Returns

number

cells count


getClassName

▸ getClassName(): string

Returns

string


getGridLimits

▸ getGridLimits(): Rect

Returns inner grid model limits, in panel model coordinates

Returns

Rect

panel inner grid model limits


getHorizon

▸ getHorizon(index): Horizon

Return horizon by specified index

Parameters

Name Type Description
indexnumberindex of horizon

Returns

Horizon

horizon


getHorizons

▸ getHorizons(): Iterator<Horizon&gt;

Return horizons

Returns

Iterator<Horizon&gt;

horizons


getHorizonsCount

▸ getHorizonsCount(): number

Return horizons count

Returns

number

horizons count


getModelLimits

▸ getModelLimits(): Rect

Returns panel inner model limits

Returns

Rect

panel inner model limits


getClassName

▸ Static getClassName(): string

Returns

string