Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
DiscreteSegment2D Class Reference

#include <geometry_discrete_primitives.h>

Public Member Functions

 DiscreteSegment2D (const DPoint &beg, const DPoint &end)
 
 operator auto () const
 

Private Types

using DPoint = DiscretePoint2D
 

Private Member Functions

void gen_points_with_bresenham (const DPoint &beg, const DPoint &end)
 

Private Attributes

std::vector< DPoint_points
 

Detailed Description

Definition at line 55 of file geometry_discrete_primitives.h.

Member Typedef Documentation

Definition at line 56 of file geometry_discrete_primitives.h.

Constructor & Destructor Documentation

DiscreteSegment2D::DiscreteSegment2D ( const DPoint beg,
const DPoint end 
)
inline

Definition at line 58 of file geometry_discrete_primitives.h.

Member Function Documentation

void DiscreteSegment2D::gen_points_with_bresenham ( const DPoint beg,
const DPoint end 
)
inlineprivate

Definition at line 67 of file geometry_discrete_primitives.h.

DiscreteSegment2D::operator auto ( ) const
inline

Definition at line 63 of file geometry_discrete_primitives.h.

Member Data Documentation

std::vector<DPoint> DiscreteSegment2D::_points
private

Definition at line 103 of file geometry_discrete_primitives.h.


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


slam_constructor
Author(s): JetBrains Research, OSLL team
autogenerated on Mon Jun 10 2019 15:08:26