Apama API Reference for .NET  10.7.2.0
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

◆ LocationType() [1/2]

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.

◆ LocationType() [2/2]

Apama.Event.Parser.LocationType.LocationType ( )

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

Member Function Documentation

◆ ToString()

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

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

Property Documentation

◆ X1

double Apama.Event.Parser.LocationType.X1
get

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

◆ X2

double Apama.Event.Parser.LocationType.X2
get

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

◆ Y1

double Apama.Event.Parser.LocationType.Y1
get

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

◆ Y2

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-2021 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.