Skip to content

BUG - long runtime/seg fault #14

@lachlangrose

Description

@lachlangrose

Cgal clip seems to go into an infinite loop when trying to clip a surface where the clipping surface is already co-aligned with an edge in the surface to be clipped. This often happens when a surface is clipped by the same surface twice.

Possible solutions

  • Add a hash to prevent the same surface clipping a surface without remeshing
  • Call the pmp::clip algorithm asynchronously and timeout if it takes longer than a specified time e.g. 1 minute
  • Perform more geometry checks prior to clipping
  • Change numerical precision

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

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