curvature on box faces
cases
exact test · 6 cases × 4 kernels ·| case | arris | opencascade | solidcore | springrep |
|---|---|---|---|---|
1e-7unsupported
casecurvatures-26acb53c91c52705
scancurvatures-26acb53c91c52705drawn by springrep
loading shape
drag to turn · right-drag to pan · pinch or ctrl-scroll to zoom · double-click resets
definition
api.md · Queries
volume(s: Solid) -> Volumearea(s: Solid) -> Areaclassify(s: Solid, points: list<Point3>) -> list<"in" or "on" or "out">closest(s: Solid, points: list<Point3>) -> list<Point3>normal(s: Solid, points: list<Point3>) -> list<Vector3 or null>curvature(s: Solid, points: list<Point3>) -> list<Number[2] or null>check(s: Solid) -> list<string>centroid(s: Solid) -> Point3 or nullinertia(s: Solid) -> Number[3][3]distance(a: Solid, b: Solid) -> Lengthinterference(a: Solid, b: Solid) -> {volume: Volume, gap: Length}betti(s: Solid) -> Count[3]section_area(s: Solid, origin: Point3, normal: Vector3) -> Areasection(s: Solid, origin: Point3, normal: Vector3, tolerance: Length) -> list<list<Point3>>project(s: Solid, direction: Vector3, tolerance: Length) -> {visible: list<list<Point2>>, hidden: list<list<Point2>>}bounding_box(s: Solid) -> Point3[2]split(s: Solid, origin: Point3, normal: Vector3) -> Solid[2]mesh(s: Solid, tolerance: Length) -> {positions: list<Point3>, triangles: list<Index[3]>}display(s: Solid, tolerance: Length) -> {faces: list<{positions: list<Point3>, normals: list<Vector3>, triangles: list<Index[3]>}>, edges: list<list<Point3>>}raycast(s: Solid, origin: Point3, direction: Vector3) -> list<Length>raycast(s: Solid, rays: list<[Point3, Vector3]>) -> list<list<Length>>kindexact
The definition fixes the result as a set of points. The test checks the answer against it: a closed form, or the suite’s own sample.