Encapsulates a 2D point with x,y coordinates. It corresponds to the org.apache.cassandra.db.marshal.PointType column type in DSE.

See Also:

Extends

Methods

__construct

( mixed $pointData )
Parameters:
Name Type Details
$pointData double|string

Either x, y pair or a WKT string

Type\Custom

type

( )

The type of represented by the value.

Returns:
Type Details
Type\Custom

the custom type for Dse\Point

double

x

( )
Returns:
Type Details
double

the x-coordinate of this Dse\Point

double

y

( )
Returns:
Type Details
double

the y-coordinate of this Dse\Point

string

wkt

( )
Returns:
Type Details
string

the well-known-text representation of this Dse\Point

string

__toString

( )
Returns:
Type Details
string

a human-readable string representation of this Dse\Point