class geode::BRepGridMetric

BRep grid metric implementation

#include <brep_grid_metric.h>

class BRepGridMetric: public geode::GridMetric
{
public:
    // construction

    BRepGridMetric(
        const BRep& brep,
        const RegularGrid3D& grid,
        double default_metric
        );

    // methods

    void paint_block(const Block3D& block, double metric);
};

Inherited Members

public:
    // methods

    virtual double metric(const Point<dimension>& point) const = 0;
    virtual double average_metric() const = 0;
    virtual double metric(const Point<dimension>& point) const;
    virtual double average_metric() const;
    void paint_point(const Point<dimension>& point, double metric);
    void paint_segment(const Segment<dimension>& segment, double metric);
    void paint_triangle(const Triangle<dimension>& triangle, double metric);
    void paint_mesh(const PointSet<dimension>& mesh, double metric);
    void paint_mesh(const EdgedCurve<dimension>& mesh, double metric);
    void paint_mesh(const TriangulatedSurface<dimension>& mesh, double metric);
    void optimize(double gradation);