Apama API Reference for .NET  9.10.0.4
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Apama.Event.Parser.LocationType Class Reference

Represents the value of an Apama location type, consisting of of two (x,y) co-ordinates. More...

Public Member Functions

 LocationType (double x1, double y1, double x2, double y2)
 Construct a new instance of LocationType, with input coordinates as constructor arguments. More...
 
 LocationType ()
 Construct a new instance of LocationType, with coordinates initialized to 0.0. More...
 
override string ToString ()
 Returns the x component of the first point that describes the rectangular area. More...
 

Properties

double X1 [get]
 Returns the x component of the first point that describes the rectangular area. More...
 
double X2 [get]
 Returns the x component of the second point that describes the rectangular area. More...
 
double Y1 [get]
 Returns the y component of the first point that describes the rectangular area. More...
 
double Y2 [get]
 Returns the y component of the second point that describes the rectangular area. More...
 

Detailed Description

Represents the value of an Apama location type, consisting of of two (x,y) co-ordinates.

Values of the location type describe rectangular areas in a two-dimensional unit-less Cartesian coordinate plane. Locations are defined by the float coordinates of two points x1, y1 and x2, y2 at diagonally opposite corners of an enclosing boundary rectangle.

Constructor & Destructor Documentation

Apama.Event.Parser.LocationType.LocationType ( double  x1,
double  y1,
double  x2,
double  y2 
)

Construct a new instance of LocationType, with input coordinates as constructor arguments.

Apama.Event.Parser.LocationType.LocationType ( )

Construct a new instance of LocationType, with coordinates initialized to 0.0.

Member Function Documentation

override string Apama.Event.Parser.LocationType.ToString ( )

Returns the x component of the first point that describes the rectangular area.

Property Documentation

double Apama.Event.Parser.LocationType.X1
get

Returns the x component of the first point that describes the rectangular area.

double Apama.Event.Parser.LocationType.X2
get

Returns the x component of the second point that describes the rectangular area.

double Apama.Event.Parser.LocationType.Y1
get

Returns the y component of the first point that describes the rectangular area.

double Apama.Event.Parser.LocationType.Y2
get

Returns the y component of the second point that describes the rectangular area.

Submit a bug or feature
Copyright (c) 2013-2016 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.