class geode::BRepMetricConstraints

#include <brep_metric_constraints.h>

class BRepMetricConstraints
{
public:
    // construction

    BRepMetricConstraints(const BRep& 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 Corner3D& corner, double metric);
    absl::optional<double> corner_metric(const Corner3D& corner) const;
    void set_line_metric(const Line3D& line, double metric);
    absl::optional<double> line_metric(const Line3D& line) const;
    void set_surface_metric(const Surface3D& surface, double metric);
    absl::optional<double> surface_metric(const Surface3D& surface) const;
    void set_block_metric(const Block3D& block, double metric);
    absl::optional<double> block_metric(const Block3D& block) const;
    const Metric3D& build_metric();
};