Loading...
Searching...
No Matches
q3::PointsGrid Class Reference

#include <points_grid.hpp>

+ Inheritance diagram for q3::PointsGrid:

Public Member Functions

 PointsGrid ()=default
 
virtual ~PointsGrid ()=default
 
bool empty () const
 
int number_of_points () const
 
const WeightedPoint3D & point (int index) const
 
const std::vector< WeightedPoint3D > & points () const
 

Protected Attributes

std::vector< WeightedPoint3D > points_
 

Detailed Description

Generic grid of weighted 3D points.

Subclasses (e.g., KPointsGrid) extend this with domain-specific generation logic while inheriting the common storage and accessors.

Definition at line 37 of file points_grid.hpp.

Constructor & Destructor Documentation

◆ PointsGrid()

q3::PointsGrid::PointsGrid ( )
default

◆ ~PointsGrid()

virtual q3::PointsGrid::~PointsGrid ( )
virtualdefault

Member Function Documentation

◆ empty()

bool q3::PointsGrid::empty ( ) const
inline

Definition at line 54 of file points_grid.hpp.

References points_.

◆ number_of_points()

int q3::PointsGrid::number_of_points ( ) const
inline

Definition at line 42 of file points_grid.hpp.

References points_.

◆ point()

const WeightedPoint3D & q3::PointsGrid::point ( int  index) const
inline

Definition at line 50 of file points_grid.hpp.

References points_.

◆ points()

const std::vector< WeightedPoint3D > & q3::PointsGrid::points ( ) const
inline

Definition at line 46 of file points_grid.hpp.

References points_.

Member Data Documentation

◆ points_

std::vector<WeightedPoint3D> q3::PointsGrid::points_
protected

Definition at line 59 of file points_grid.hpp.

Referenced by empty(), number_of_points(), point(), and points().


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