Remove confusing and wrong comment

I don't see how the half-edges that bound a sphere would be any less
tied to curvature than those that define a cylinder.
This commit is contained in:
Hanno Braun 2024-07-30 18:58:07 +02:00
parent d878bc8cd6
commit dba6d72d1e

View File

@ -72,19 +72,6 @@ pub fn approx_face(
) -> FaceApprox {
let tolerance = tolerance.into();
// Curved faces whose curvature is not fully defined by their edges
// are not supported yet. For that reason, we can fully ignore `face`'s
// `surface` field and just pass the edges to `Self::for_edges`.
//
// An example of a curved face that is supported, is the cylinder. Its
// curvature is fully defined be the edges (circles) that border it. The
// circle approximations are sufficient to triangulate the surface.
//
// An example of a curved face that is currently not supported, and thus
// doesn't need to be handled here, is a sphere. A spherical face would
// would need to provide its own approximation, as the edges that bound
// it have nothing to do with its curvature.
let exterior = approx_cycle(
face.region().exterior().deref(),
face.surface(),