NASA Logo
Ocean Color Science Software

ocssw V2022
l3 Namespace Reference

Classes

class  L3Bin
 
class  L3File
 
class  L3FileSMI
 
class  L3Row
 
class  L3Shape
 
class  L3ShapeIsine
 
class  L3ShapeSMI
 

Typedefs

typedef boost::geometry::model::d2::point_xy< float > Point_t
 
typedef boost::geometry::model::polygon< Point_tPolygon_t
 
typedef boost::geometry::model::box< Point_tBox_t
 

Functions

template<typename Geometry >
float calcIntersectionArea (Box_t &box, Geometry &geo)
 
template<>
float calcIntersectionArea< Box_t > (Box_t &box, Box_t &geo)
 
double constrainLat (double lat)
 
double constrainLon (double lon)
 

Variables

const float missingPixelValue = -32767.0
 

Typedef Documentation

◆ Box_t

typedef boost::geometry::model::box<Point_t> Box_t

Definition at line 23 of file L3File.h.

◆ Point_t

typedef boost::geometry::model::d2::point_xy<float> Point_t

Definition at line 21 of file L3File.h.

◆ Polygon_t

typedef boost::geometry::model::polygon<Point_t> Polygon_t

Definition at line 22 of file L3File.h.

Function Documentation

◆ calcIntersectionArea()

float l3::calcIntersectionArea ( Box_t box,
Geometry &  geo 
)
inline

Definition at line 26 of file L3File.h.

◆ calcIntersectionArea< Box_t >()

float l3::calcIntersectionArea< Box_t > ( Box_t box,
Box_t geo 
)
inline

Definition at line 38 of file L3File.h.

◆ constrainLat()

double constrainLat ( double  lat)

limit latitude values to +-90

Parameters
latlatitude to normalize
Returns
lat value clamped to -90 to 90

Definition at line 13 of file L3Shape.cpp.

◆ constrainLon()

double constrainLon ( double  lon)

limit the longitude to +-180

Parameters
lonlongitude to normalize
Returns
lat value normalized to -180 to 180

Definition at line 26 of file L3Shape.cpp.

Variable Documentation

◆ missingPixelValue

const float missingPixelValue = -32767.0

Definition at line 19 of file L3File.h.