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

How two geometries meet, beyond where they cross. More...

#include <intersection.h>

Public Attributes

bool m_Tangent = false
 Touch at one point, no crossing.
 
bool m_Overlapping = false
 Collinear or concentric, more than one point shared.
 

Detailed Description

How two geometries meet, beyond where they cross.

The point list cannot express either case. A graze gives one point, same as a crossing. A shared extent gives none, same as no contact.

Set only inside the bounded extent of both geometries. SHAPE_ELLIPSE never sets either.

Definition at line 50 of file intersection.h.

Member Data Documentation

◆ m_Overlapping

bool INTERSECTION_CONTACT::m_Overlapping = false

Collinear or concentric, more than one point shared.

Arcs are concentric only if the carriers they rebuild from their three points match exactly.

Definition at line 57 of file intersection.h.

Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), GRAPHIC_EXTEND_PLANNER::Plan(), and GRAPHIC_TRIM_PLANNER::Plan().

◆ m_Tangent

bool INTERSECTION_CONTACT::m_Tangent = false

Touch at one point, no crossing.

Definition at line 53 of file intersection.h.

Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE().


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