Skip to content

[cgal] Eigen3 feature support #48042

@nyoma-diamond

Description

@nyoma-diamond

Is your feature request related to a problem? Please describe.

A very large portion of functionality available via CGAL is dependent on Eigen3. For reference, see https://doc.cgal.org/latest/Manual/thirdparty.html#title8 and https://doc.cgal.org/latest/Manual/packages.html.

Currently, there is no feature of the port to properly Eigen3 support.
There is a Qt feature which requests Eigen3, but this is excessive for uses that don't require Qt (Also, it's unclear why the Qt feature even requests Eigen3 at all, as CGAL::Qt doesn't depend on Eigen3 based on https://doc.cgal.org/latest/GraphicsView/ and https://doc.cgal.org/latest/Manual/packages.html. The feature seems excessively broad / overspecified).

Proposed solution

At the bare minimum, an optional eigen feature should be added to the CGAL port. Currently the consumer is required to manually request Eigen3 separately which isn't entirely clear.

Describe alternatives you've considered

As of right now, it's possible to work around this by manually requesting Eigen3 and including it in parallel with CGAL. It's a straightforward solution, but unusual to need to perform manually if Eigen is just a transitive dependency of CGAL and isn't used by the consuming project.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    category:port-featureThe issue is with a library, which is requesting new capabilities that didn’t exist

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions