Last updated

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
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


clearCells

clearCells(): IntersectionPanel2D

Clear cells

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>

Return iterator with inner cells

Returns

Iterator<IntersectionCell2D>

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


getModelLimits

getModelLimits(): Rect

Returns panel inner model limits

Returns

Rect

panel inner model limits


getPolylines

getPolylines(): Iterator<PolylineSet>

Returns

Iterator<PolylineSet>


getClassName

Static getClassName(): string

Returns

string