Skip to content

math::Sphere::OptimalEnclosingSphere() breaks down for torus with sufficient detail #75

Open
@tksuoran

Description

@tksuoran

Torus that shows a problem:

  • major axis = 0.5
  • minor axis = 0.125
  • major axis steps = 40
  • minor axis steps = 32
    This gives a bounding sphere that is too large to be optimal (center = (0.619, 0.0, 0.048), radius = 1.247):
    image

Meanwhile, torus with less detail:

  • major axis = 0.5
  • minor axis = 0.125
  • major axis steps = 30
  • minor axis steps = 24
    This gives the expected bounding sphere (center = (0,0,0), radius = 0.625)
    image

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