KiCad PCB EDA Suite
Loading...
Searching...
No Matches
POINT_COORD Class Reference

A coordinate point. More...

#include <ds_data_item.h>

Public Member Functions

 POINT_COORD ()
 
 POINT_COORD (const VECTOR2D &aPos, enum CORNER_ANCHOR aAnchor=RB_CORNER)
 

Public Attributes

VECTOR2D m_Pos
 
int m_Anchor
 

Detailed Description

A coordinate point.

The position is always relative to the corner anchor.

Note
The coordinate is from the anchor point to the opposite corner.

Definition at line 69 of file ds_data_item.h.

Constructor & Destructor Documentation

◆ POINT_COORD() [1/2]

POINT_COORD::POINT_COORD ( )
inline

Definition at line 72 of file ds_data_item.h.

References m_Anchor, and RB_CORNER.

◆ POINT_COORD() [2/2]

POINT_COORD::POINT_COORD ( const VECTOR2D aPos,
enum CORNER_ANCHOR  aAnchor = RB_CORNER 
)
inline

Definition at line 74 of file ds_data_item.h.

References m_Anchor, and m_Pos.

Member Data Documentation

◆ m_Anchor

◆ m_Pos


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