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
 
 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 139 of file convert_shape_list_to_polygon.cpp.

Constructor & Destructor Documentation

◆ PCB_SHAPE_ENDPOINTS_ADAPTOR() [1/2]

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

Definition at line 143 of file convert_shape_list_to_polygon.cpp.

References endpoints.

◆ PCB_SHAPE_ENDPOINTS_ADAPTOR() [2/2]

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

Definition at line 40 of file fix_board_shape.cpp.

References endpoints.

Member Function Documentation

◆ kdtree_get_bbox() [1/2]

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

Definition at line 167 of file convert_shape_list_to_polygon.cpp.

◆ kdtree_get_bbox() [2/2]

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

Definition at line 64 of file fix_board_shape.cpp.

◆ kdtree_get_point_count() [1/2]

size_t PCB_SHAPE_ENDPOINTS_ADAPTOR::kdtree_get_point_count ( ) const
inline

Definition at line 155 of file convert_shape_list_to_polygon.cpp.

References endpoints.

◆ kdtree_get_point_count() [2/2]

size_t PCB_SHAPE_ENDPOINTS_ADAPTOR::kdtree_get_point_count ( ) const
inline

Definition at line 52 of file fix_board_shape.cpp.

References endpoints.

◆ kdtree_get_pt() [1/2]

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

Definition at line 158 of file convert_shape_list_to_polygon.cpp.

References endpoints.

◆ kdtree_get_pt() [2/2]

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

Definition at line 55 of file fix_board_shape.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 files: