API / geotoolkit3d / shapes / IntersectionCell2D / IntersectionCell2D
shapes.IntersectionCell2D.IntersectionCell2D
Cell projection to 2D plane
Constructors
Methods
Methods
▸ addTriangle(triangle): IntersectionCell2D
Add triangle
| Name | Type | Description |
|---|---|---|
triangle | PolyShape | triangle to add |
this
▸ clearTriangles(): IntersectionCell2D
Clear inner triangles
this
▸ clone(): IntersectionCell2D
Return clone
clone
▸ copyConstructor(src): IntersectionCell2D
Copy data from specified source
| Name | Type | Description |
|---|---|---|
src | IntersectionCell2D | source to copy from |
this
▸ getBounds(): Rect
Returns cell bounds
cell bounds
▸ getClassName(): string
string
▸ getCoordinates(): Object
Return cell path coordinates (combined from triangles)
Object
x and y coordinates
| Name | Type |
|---|---|
x | number[] |
y | number[] |
▸ getFillStyle(): FillStyle
Returns associated fill style
fill style
▸ getIndex(): number
Returns index
number
index
▸ getLineStyle(): LineStyle
Returns associated line style
line style
▸ getTriangles(): Iterator<PolyShape>
Return iterator with inner triangles
iterator with triangles
▸ getTrianglesCount(): number
Clear inner triangles
number
triangles count
▸ getValue(): number
Returns value
number
value
▸ setFillStyle(fillStyle): IntersectionCell2D
Set fill style
| Name | Type | Description |
|---|---|---|
fillStyle | FillStyle | fill style |
this
▸ setLineStyle(lineStyle): IntersectionCell2D
Set line style
| Name | Type | Description |
|---|---|---|
lineStyle | LineStyle | line style |
this
▸ Static getClassName(): string
string