Packagecom.esri.tracking.connector.geometry
Classpublic class TmsPoint
InheritanceTmsPoint Inheritance TmsGeometry Inheritance Object

Represents a GML Point. Use this class to get the point field attributes for an observation with Point geometry type.



Public Properties
 PropertyDefined By
  gml : String
[read-only] The GML representing the Point.
TmsPoint
  type : GeometryType
[override] [read-only] The type of geometry.
TmsPoint
  x : Number
The x coordinate of the Point.
TmsPoint
  y : Number
The y coordinate of the Point.
TmsPoint
  z : Number
The z coordinate of the Point.
TmsPoint
Public Methods
 MethodDefined By
  
TmsPoint(gml:String = null)
The constructor.
TmsPoint
  
parseGML(gml:String):TmsPoint
[static] A static function that parses GML and converts it to a TmsPoint.
TmsPoint
  
parsePointStrings(xStr:String, yStr:String, zStr:String):TmsPoint
[static] A static function that creates a TmsPoint from x, y and z coordinates.
TmsPoint
Property Detail
gmlproperty
gml:String  [read-only]

The GML representing the Point. This must use the coordinates tag. The coord tag is not supported.


Implementation
    public function get gml():String
typeproperty 
type:GeometryType  [read-only] [override]

The type of geometry. In this case this is a GeometryType.POINT


Implementation
    public function get type():GeometryType
xproperty 
public var x:Number

The x coordinate of the Point.

yproperty 
public var y:Number

The y coordinate of the Point.

zproperty 
public var z:Number

The z coordinate of the Point.

Constructor Detail
TmsPoint()Constructor
public function TmsPoint(gml:String = null)

The constructor.

Parameters
gml:String (default = null) — The GML representing the Point.
Method Detail
parseGML()method
public static function parseGML(gml:String):TmsPoint

A static function that parses GML and converts it to a TmsPoint.

Parameters

gml:String — The GML representing the Point.

Returns
TmsPoint — The TmsPoint created.
parsePointStrings()method 
public static function parsePointStrings(xStr:String, yStr:String, zStr:String):TmsPoint

A static function that creates a TmsPoint from x, y and z coordinates.

Parameters

xStr:String — String representing the x coordinate.
 
yStr:String — String representing the y coordinate.
 
zStr:String — String representing the z coordinate.

Returns
TmsPoint — The TmsPoint created.