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

Result of a single creepage query between two nets on one layer. More...

#include <drc_creepage_engine.h>

Public Attributes

int m_netA = -1
 
int m_netB = -1
 
double m_distance = 0.0
 
double m_constraint = 0.0
 
bool m_violation = false
 
VECTOR2I m_start
 
VECTOR2I m_end
 
const BOARD_ITEMm_itemA = nullptr
 
const BOARD_ITEMm_itemB = nullptr
 
std::vector< PCB_SHAPEm_path
 

Detailed Description

Result of a single creepage query between two nets on one layer.

m_path holds the rendered creepage polyline, identical to the geometry the batch DRC marker uses, so the realtime overlay and the eventual DRC marker draw the same shape.

Definition at line 47 of file drc_creepage_engine.h.

Member Data Documentation

◆ m_constraint

double CREEPAGE_RESULT::m_constraint = 0.0

◆ m_distance

double CREEPAGE_RESULT::m_distance = 0.0

◆ m_end

VECTOR2I CREEPAGE_RESULT::m_end

Definition at line 55 of file drc_creepage_engine.h.

◆ m_itemA

const BOARD_ITEM* CREEPAGE_RESULT::m_itemA = nullptr

◆ m_itemB

const BOARD_ITEM* CREEPAGE_RESULT::m_itemB = nullptr

◆ m_netA

int CREEPAGE_RESULT::m_netA = -1

Definition at line 49 of file drc_creepage_engine.h.

◆ m_netB

int CREEPAGE_RESULT::m_netB = -1

Definition at line 50 of file drc_creepage_engine.h.

◆ m_path

std::vector<PCB_SHAPE> CREEPAGE_RESULT::m_path

Definition at line 58 of file drc_creepage_engine.h.

◆ m_start

VECTOR2I CREEPAGE_RESULT::m_start

◆ m_violation

bool CREEPAGE_RESULT::m_violation = false

Definition at line 53 of file drc_creepage_engine.h.


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