Skip to content

Add strict mode / handle inradius < borderRadius case #3

@shreshthmohan

Description

@shreshthmohan
  • Strict mode will throw an error if the border radius is larger than the maximum possible value. (incircle radius?) Probably better to have a warning instead of an error. {warning: {status: true, message: "border radius exceeds inradius. should be less than <> for the given circumRadius/sideLength of <>"}}
  • Add a mode where the function automatically returns incircle path when corner case
  • Add an example showing what happens if the above exception occurs with strict mode off

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