Xcoord(a)

Returns the X value of a coordinate.

Function only- no corresponding object


Syntax

o_Xcoord(a)
a: scalar or Array1D Coord - coordinate to be examined
return: scalar or Array 1D - the X value of the input coordinate

Usage

Use this to access the X value from coordinate within an expression.

Location

menu: no menu pick - to access use the Function and Object browser

library: dataLib

Example

Given coordinate (1,2),  o_Xcoord returns 1

Notes

While VEE syntax provides the ability to create and examine Complex and PComplex data within expressions, it lack the ability to do the same with coordinates. Hence one is left with the often-clumsy need to use the Build and Unbuild Coord objects instead. This function allows one to unbuild a coordinate within an expression.

Reference

Dependencies

Supported On

VEE 7.0+, all platforms

See Also

toCoord, Ycoord, Zcoord


© 2015-2025. All Rights Reserved. Stan Bischof (stan@worldbadminton.com). Last updated 03 February 2023 13:03.