| 
    KiCad PCB EDA Suite
    
   | 
 
Represent an intersection between two line segments. More...
#include <shape_line_chain.h>
Public Member Functions | |
| INTERSECTION () | |
Public Attributes | |
| VECTOR2I | p | 
| Point of intersection between our and their.   | |
| int | index_our | 
| Index of the intersecting corner/segment in the 'our' (== this) line.   | |
| int | index_their | 
| index of the intersecting corner/segment in the 'their' (Intersect() method parameter) line.   | |
| bool | is_corner_our | 
| When true, the corner [index_our] of the 'our' line lies exactly on 'their' line.   | |
| bool | is_corner_their | 
| When true, the corner [index_their] of the 'their' line lies exactly on 'our' line.   | |
| bool | valid | 
| Auxiliary flag to avoid copying intersection info to intersection refining code, used by the refining code (e.g.   | |
Represent an intersection between two line segments.
Definition at line 90 of file shape_line_chain.h.
      
  | 
  inline | 
Definition at line 115 of file shape_line_chain.h.
References index_our, index_their, is_corner_our, is_corner_their, and valid.
| int SHAPE_LINE_CHAIN::INTERSECTION::index_our | 
Index of the intersecting corner/segment in the 'our' (== this) line.
Definition at line 96 of file shape_line_chain.h.
Referenced by SHAPE_LINE_CHAIN::Intersect(), SHAPE_LINE_CHAIN::Intersect(), INTERSECTION(), SHAPE_LINE_CHAIN::SelfIntersecting(), and SHAPE_LINE_CHAIN::SelfIntersectingWithArcs().
| int SHAPE_LINE_CHAIN::INTERSECTION::index_their | 
index of the intersecting corner/segment in the 'their' (Intersect() method parameter) line.
Definition at line 100 of file shape_line_chain.h.
Referenced by SHAPE_LINE_CHAIN::Intersect(), SHAPE_LINE_CHAIN::Intersect(), INTERSECTION(), PNS::NODE::NearestObstacle(), SHAPE_LINE_CHAIN::SelfIntersecting(), and SHAPE_LINE_CHAIN::SelfIntersectingWithArcs().
| bool SHAPE_LINE_CHAIN::INTERSECTION::is_corner_our | 
When true, the corner [index_our] of the 'our' line lies exactly on 'their' line.
Definition at line 103 of file shape_line_chain.h.
Referenced by SHAPE_LINE_CHAIN::Intersect(), SHAPE_LINE_CHAIN::Intersect(), and INTERSECTION().
| bool SHAPE_LINE_CHAIN::INTERSECTION::is_corner_their | 
When true, the corner [index_their] of the 'their' line lies exactly on 'our' line.
Note that when both is_corner_our and is_corner_their are set, the line chains touch with with corners.
Definition at line 108 of file shape_line_chain.h.
Referenced by SHAPE_LINE_CHAIN::Intersect(), SHAPE_LINE_CHAIN::Intersect(), and INTERSECTION().
| VECTOR2I SHAPE_LINE_CHAIN::INTERSECTION::p | 
Point of intersection between our and their.
Definition at line 93 of file shape_line_chain.h.
Referenced by SHAPE_LINE_CHAIN::Intersect(), SHAPE_LINE_CHAIN::Intersect(), PNS::NODE::NearestObstacle(), compareOriginDistance::operator()(), SHAPE_LINE_CHAIN::compareOriginDistance::operator()(), SHAPE_LINE_CHAIN::SelfIntersecting(), SHAPE_LINE_CHAIN::SelfIntersectingWithArcs(), and DRC_TEST_PROVIDER_ZONE_CONNECTIONS::testZoneLayer().
| bool SHAPE_LINE_CHAIN::INTERSECTION::valid | 
Auxiliary flag to avoid copying intersection info to intersection refining code, used by the refining code (e.g.
hull handling stuff in the P&S) to reject false intersection points.
Definition at line 113 of file shape_line_chain.h.
Referenced by PNS::HullIntersection(), SHAPE_LINE_CHAIN::Intersect(), SHAPE_LINE_CHAIN::Intersect(), and INTERSECTION().