MCPcopy Create free account
hub / github.com/KiCad/kicad-source-mirror / UnpackVector2

Function UnpackVector2

common/api/api_utils.cpp:86–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84
85
86KICOMMON_API VECTOR2I UnpackVector2( const types::Vector2& aInput )
87{
88 return VECTOR2I( aInput.x_nm(), aInput.y_nm() );
89}
90
91
92KICOMMON_API void PackVector3D( types::Vector3D& aOutput, const VECTOR3D& aInput )

Callers 15

DeserializeMethod · 0.85
DeserializeMethod · 0.85
handleHitTestMethod · 0.85
handleGetTextAsShapesMethod · 0.85
UnpackBox2Function · 0.85
DeserializeMethod · 0.85
DeserializeMethod · 0.85
DeserializeMethod · 0.85
DeserializeMethod · 0.85
DeserializeMethod · 0.85
DeserializeMethod · 0.85
unpackCopperLayerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected