class geode::SectionMetricConstraints

#include <section_metric_constraints.h>

class SectionMetricConstraints
{
public:
    // construction

    SectionMetricConstraints(const Section& brep);

    // methods

    void import_constraints(absl::string_view filename);
    void export_constraints(absl::string_view filename);
    void set_default_metric(double metric);
    double default_metric() const;
    void set_gradation(double gradation);
    double gradation() const;
    void set_corner_metric(const Corner2D& corner, double metric);
    absl::optional<double> corner_metric(const Corner2D& corner) const;
    void set_line_metric(const Line2D& line, double metric);
    absl::optional<double> line_metric(const Line2D& line) const;
    void set_surface_metric(const Surface2D& surface, double metric);
    absl::optional<double> surface_metric(const Surface2D& surface) const;
    const Metric2D& build_metric();
};