Point 2D
IRI: https://w3id.org/altium/cdm/design/Point2D
API: DesPosition2D · AD SDK: PCB.ICoordPoint
A point in the coordinate system of a schematic sheet or PCB document.
In the product
No product documentation linked yet.
Diagram
---
config:
layout: elk
class:
hideEmptyMembersBox: true
---
classDiagram
direction LR
class des_Point2D["Point 2D"]
style des_Point2D fill:#93c47d,stroke:#607f51,color:#14181f,stroke-width:2.5px
click des_Point2D href "../../classes/des_Point2D/"
des_Point2D : x
des_Point2D : y
class des_PlacedComponent["Placed Component"]
style des_PlacedComponent fill:#93c47d,stroke:#607f51,color:#14181f,stroke-width:1px
des_PlacedComponent --> "0..1" des_Point2D: location
click des_PlacedComponent href "../../classes/des_PlacedComponent/"
class des_ComponentPart["Component Part"]
style des_ComponentPart fill:#93c47d,stroke:#607f51,color:#14181f,stroke-width:1px
des_ComponentPart --> "0..1" des_Point2D: location
click des_ComponentPart href "../../classes/des_ComponentPart/"
class des_PinInstance["Pin Instance"]
style des_PinInstance fill:#93c47d,stroke:#607f51,color:#14181f,stroke-width:1px
des_PinInstance --> "0..1" des_Point2D: location
click des_PinInstance href "../../classes/des_PinInstance/"
class des_NetItem["Net Item"]
style des_NetItem fill:#93c47d,stroke:#607f51,color:#14181f,stroke-width:1px
des_NetItem --> "0..1" des_Point2D: location
click des_NetItem href "../../classes/des_NetItem/"
class des_PcbLayout["PCB Layout"]
style des_PcbLayout fill:#93c47d,stroke:#607f51,color:#14181f,stroke-width:1px
des_PcbLayout --> "0..1" des_Point2D: origin
click des_PcbLayout href "../../classes/des_PcbLayout/"
class des_PcbLayout["PCB Layout"]
style des_PcbLayout fill:#93c47d,stroke:#607f51,color:#14181f,stroke-width:1px
des_PcbLayout --> "*" des_Point2D: outline
click des_PcbLayout href "../../classes/des_PcbLayout/"
class des_PcbComponent["PCB Component"]
style des_PcbComponent fill:#93c47d,stroke:#607f51,color:#14181f,stroke-width:1px
des_PcbComponent --> "0..1" des_Point2D: position
click des_PcbComponent href "../../classes/des_PcbComponent/"
class des_Pad["Pad"]
style des_Pad fill:#93c47d,stroke:#607f51,color:#14181f,stroke-width:1px
des_Pad --> "1" des_Point2D: position
click des_Pad href "../../classes/des_Pad/"
class des_Track["Track"]
style des_Track fill:#93c47d,stroke:#607f51,color:#14181f,stroke-width:1px
des_Track --> "1" des_Point2D: begin
click des_Track href "../../classes/des_Track/"
class des_Track["Track"]
style des_Track fill:#93c47d,stroke:#607f51,color:#14181f,stroke-width:1px
des_Track --> "1" des_Point2D: end
click des_Track href "../../classes/des_Track/"
class des_Via["Via"]
style des_Via fill:#93c47d,stroke:#607f51,color:#14181f,stroke-width:1px
des_Via --> "1" des_Point2D: position
click des_Via href "../../classes/des_Via/"
class des_Wire["Wire"]
style des_Wire fill:#93c47d,stroke:#607f51,color:#14181f,stroke-width:1px
des_Wire --> "0..1" des_Point2D: location
click des_Wire href "../../classes/des_Wire/"
class des_Wire["Wire"]
style des_Wire fill:#93c47d,stroke:#607f51,color:#14181f,stroke-width:1px
des_Wire --> "*" des_Point2D: vertices
click des_Wire href "../../classes/des_Wire/"
Comments
The Platform API serves PCB positions in internal units, mils and millimetres (DesPosition2D); the AD SDK uses internal units of 10,000 per mil. The integer x/y of DesignDataLocation_Preview (schematic design data) has no unit stated in the API snapshot; this is open question Q7.
Inheritance
- Resource
- Point 2D
Fields
| Name | Cardinality | Type | Description | Inheritance |
|---|---|---|---|---|
| x | 1 |
decimal | The X coordinate, in millimetres. | direct |
| y | 1 |
decimal | The Y coordinate, in millimetres. | direct |