Google Earth API

KmlVec2 Interface Reference

Inherits KmlObjectPartial.

List of all members.

Public Member Functions

void set (double x, KmlUnitsEnum xUnits, double y, KmlUnitsEnum yUnits)
double getX ()
void setX (double x)
KmlUnitsEnum getXUnits ()
void setXUnits (KmlUnitsEnum xUnits)
double getY ()
void setY (double y)
KmlUnitsEnum getYUnits ()
void setYUnits (KmlUnitsEnum yUnits)

Detailed Description

Defines the x and y coordinates of a 2D vector.

Member Function Documentation

void KmlVec2.set ( double  x,
KmlUnitsEnum  xUnits,
double  y,
KmlUnitsEnum  yUnits 
)

Sets the coordinates of the vector.

double KmlVec2.getX ( )

Indicates the x coordinate.

void KmlVec2.setX ( double  x)

Indicates the x coordinate.

KmlUnitsEnum KmlVec2.getXUnits ( )

Units in which the x value is specified.

See also:
GEPlugin.UNITS_FRACTION
GEPlugin.UNITS_PIXELS
GEPlugin.UNITS_INSET_PIXELS
void KmlVec2.setXUnits ( KmlUnitsEnum  xUnits)

Units in which the x value is specified.

See also:
GEPlugin.UNITS_FRACTION
GEPlugin.UNITS_PIXELS
GEPlugin.UNITS_INSET_PIXELS
double KmlVec2.getY ( )

Indicates the y coordinate.

void KmlVec2.setY ( double  y)

Indicates the y coordinate.

KmlUnitsEnum KmlVec2.getYUnits ( )

Units in which the y value is specified.

See also:
GEPlugin.UNITS_FRACTION
GEPlugin.UNITS_PIXELS
GEPlugin.UNITS_INSET_PIXELS
void KmlVec2.setYUnits ( KmlUnitsEnum  yUnits)

Units in which the y value is specified.

See also:
GEPlugin.UNITS_FRACTION
GEPlugin.UNITS_PIXELS
GEPlugin.UNITS_INSET_PIXELS

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.