OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
marchsq::_RasterTraits< AdaptiveLevelField > Struct Reference
Inheritance diagram for marchsq::_RasterTraits< AdaptiveLevelField >:
Collaboration diagram for marchsq::_RasterTraits< AdaptiveLevelField >:

Public Types

using ValueType = float

Static Public Member Functions

static float get (const AdaptiveLevelField &sf, size_t row, size_t col)
static size_t rows (const AdaptiveLevelField &sf)
static size_t cols (const AdaptiveLevelField &sf)

Detailed Description

Member Typedef Documentation

◆ ValueType

using marchsq::_RasterTraits< AdaptiveLevelField >::ValueType = float

Member Function Documentation

◆ cols()

size_t marchsq::_RasterTraits< AdaptiveLevelField >::cols ( const AdaptiveLevelField & sf)
inlinestatic
744{ return sf.to_coordr(sf.size.x()); }
Definition MarchingSquares.hpp:134

References marchsq::AdaptiveLevelField::size, and marchsq::AdaptiveLevelField::to_coordr().

Here is the call graph for this function:

◆ get()

float marchsq::_RasterTraits< AdaptiveLevelField >::get ( const AdaptiveLevelField & sf,
size_t row,
size_t col )
inlinestatic
742{ return sf.get_scalar(Coord(long(row), long(col))); }

References marchsq::AdaptiveLevelField::get_scalar().

Here is the call graph for this function:

◆ rows()

size_t marchsq::_RasterTraits< AdaptiveLevelField >::rows ( const AdaptiveLevelField & sf)
inlinestatic
743{ return sf.to_coordr(sf.size.y()); }

References marchsq::AdaptiveLevelField::size, and marchsq::AdaptiveLevelField::to_coordr().

Here is the call graph for this function:

The documentation for this struct was generated from the following file: