KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PCB_SHAPE_ENDPOINTS_ADAPTOR Struct Reference

Public Member Functions

 PCB_SHAPE_ENDPOINTS_ADAPTOR (const std::vector< PCB_SHAPE * > &shapes)
 
size_t kdtree_get_point_count () const
 
double kdtree_get_pt (const size_t idx, const size_t dim) const
 
template<class BBOX >
bool kdtree_get_bbox (BBOX &) const
 

Public Attributes

std::vector< std::pair< VECTOR2I, PCB_SHAPE * > > endpoints
 

Detailed Description

Definition at line 137 of file convert_shape_list_to_polygon.cpp.

Constructor & Destructor Documentation

◆ PCB_SHAPE_ENDPOINTS_ADAPTOR()

PCB_SHAPE_ENDPOINTS_ADAPTOR::PCB_SHAPE_ENDPOINTS_ADAPTOR ( const std::vector< PCB_SHAPE * > &  shapes)
inline

Definition at line 141 of file convert_shape_list_to_polygon.cpp.

References endpoints.

Member Function Documentation

◆ kdtree_get_bbox()

template<class BBOX >
bool PCB_SHAPE_ENDPOINTS_ADAPTOR::kdtree_get_bbox ( BBOX &  ) const
inline

Definition at line 165 of file convert_shape_list_to_polygon.cpp.

◆ kdtree_get_point_count()

size_t PCB_SHAPE_ENDPOINTS_ADAPTOR::kdtree_get_point_count ( ) const
inline

Definition at line 153 of file convert_shape_list_to_polygon.cpp.

References endpoints.

◆ kdtree_get_pt()

double PCB_SHAPE_ENDPOINTS_ADAPTOR::kdtree_get_pt ( const size_t  idx,
const size_t  dim 
) const
inline

Definition at line 156 of file convert_shape_list_to_polygon.cpp.

References endpoints.

Member Data Documentation

◆ endpoints

std::vector<std::pair<VECTOR2I, PCB_SHAPE*> > PCB_SHAPE_ENDPOINTS_ADAPTOR::endpoints

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