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
|
The type of this value.
- Returns:
- Returns:
| Type |
Details |
double |
the x-coordinate of this Dse\Point
|
- Returns:
| Type |
Details |
double |
the y-coordinate of this Dse\Point
|
- Returns:
| Type |
Details |
string |
the well-known-text representation of this Dse\Point
|
- Returns:
| Type |
Details |
string |
a human-readable string representation of this Dse\Point
|