Skip to main content

Position Struct

Package: GHIElectronics.Endpoint.Devices.UsbHost
Namespace: GHIElectronics.Endpoint.Devices.UsbHost

Represents the a generic position.

struct Position {};

Properties​

X​

int32_t X() const;
void X(int32_t value);

The X coordinate.

Returns int

Y​

int32_t Y() const;
void Y(int32_t value);

The Y coordinate.

Returns int

Z​

int32_t Z() const;
void Z(int32_t value);

The Z coordinate.

Returns int

Methods​

ToString()​

virtual std::string ToString() override;

Returns a string representation of the position.

Returns string: The position.