Skip to content

Geogram-like LabelingGraph interface #12

Open
@sebmestrallet

Description

@sebmestrallet

I like the GEO::Mesh interface:

mesh.vertices.nb();
mesh.facets.corner(facet_index,local_vertex);
mesh.facets.create_triangle(v0,v1,v2);
mesh.cells.are_simplices();

For the include/labeling_graph.h LabelingGraph struct, instead of:

lg.nb_charts();
lg.nb_invalid_charts();
lg.facet2chart[facet_index];
lg.chart[lg.boundaries[chart_index].left_chart].label;

we could have:

lg.charts.nb();
lg.charts.invalid.nb();
lg.charts.index_from_facet(facet_index);
lg.boundaries.left_chart(boundary_index).label

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions