Skip to content

cornerAngle() doesn't work for polygonal faces #214

Description

@keenancrane

Attempting to invoke geometry->cornerAngle(c) on a non-triangular face yields the message

GC_SAFETY_ASSERT FAILURE from /Users/keenancrane/Code/mesh-mash/deps/geometry-central/src/../include/geometrycentral/surface/vertex_position_geometry.ipp:67 - faces must be triangular

This seems like an oversight, since the angle at a corner is well-defined for a face of any degree (even if the geometry within the face is not well-defined in the nonplanar case).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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