Skip to content

finite-coordinate validation #1

Description

@NailxSharipov

Where to add is_finite() api?

As for me ShapeResource<P> looks like a best candidate.

The only problem I see is that it only works with contours, and if for some reason we need detailed information, it is not very suitable to much.

the api can look like fn validate_coordinates(&self) -> Result<(), InvalidGeometry> could reject NaN, +inf, and -inf and return the failing path/point index.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions