Skip to content

How to calculate the area of the result of union, intersection, etc? #15

@Dylan190774

Description

@Dylan190774

I want to calculate the total area of the result of the functions. I know there are other libraries for that, but it would be very useful to have it in this package, since every library uses its own data-structure and types.

Do I just need to iterate all Polygon's ? But the result can contain 'Ring's, too. What about them?

I can't figure out how a Ring works. Do I need to subtract the inner Ring from the outer Ring to get the right result? But how to distinguish between inner and outer Ring then?

A bit more documentation about the type structure that is used, would be very welcome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions