CoreTweet  0.7.0
Yet another .NET Twitter Library
Public Member Functions | Properties | List of all members
CoreTweet.BoundingBox Class Reference

More...

Inheritance diagram for CoreTweet.BoundingBox:
CoreTweet.Core.CoreBase

Public Member Functions

IEnumerator< CoordinatesGetEnumerator ()
 Returns an enumerator that iterates through a collection. More...
 

Properties

double[][][] Coordinates [get, set]
 
string Type [get, set]
 
Coordinates this[int index] [get, set]
 Gets or sets the element at the specified index. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from CoreTweet.Core.CoreBase
static T Convert< T > (string json, string jsonPath="")
 Converts the JSON to a twitter object of the specified type. More...
 
static List< T > ConvertArray< T > (string json, string jsonPath)
 

Detailed Description

Represents a bounding box.

This class can be converted to a JSON with JsonConvert.SerializeObject(object).

Member Function Documentation

IEnumerator<Coordinates> CoreTweet.BoundingBox.GetEnumerator ( )
inline

Returns an enumerator that iterates through a collection.

Returns
An IEnumerator object that can be used to iterate through the collection.

Property Documentation

double [][][] CoreTweet.BoundingBox.Coordinates
getset

Gets or sets a series of longitude and latitude points, defining a box which will contain the Place entity this bounding box is related to.

Each point is an array in the form of [longitude, latitude].

Points are grouped into an array per bounding box.

Bounding box arrays are wrapped in one additional array to be compatible with the polygon notation.

Coordinates CoreTweet.BoundingBox.this[int index]
getset

Gets or sets the element at the specified index.

Parameters
indexThe zero-based index of the element to get or set.
Returns
The element at the specified index.
string CoreTweet.BoundingBox.Type
getset

Gets or sets the type of data encoded in the coordinates property.

This will be "Polygon" for bounding boxes.


The documentation for this class was generated from the following file: