Point3d

Represents a single location in 3-dimensional space.

Contains SRID along with its x, y and z coordinates.

Constructors

this
this(Point3d other)

Create a deep copy of other point 3d.

this
this(Value value)

Create a point 3d from a Value.

this
this(mg_point_3d* ptr)

Create a Point3d using the given mg_point_3d.

this
this(mg_point_3d* ptr)

Create a Point3d from a copy of the given mg_point_3d.

Destructor

~this
~this()
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Members

Functions

opAssign
Point3d opAssign(Point3d rhs)

Assigns a point 3d to another. The target of the assignment gets detached from whatever point 3d it was attached to, and attaches itself to the new point 3d.

opEquals
bool opEquals(Point3d other)

Compares this point 3d with other. Return: true if same, false otherwise.

ptr
const(mg_point_3d*) ptr()
Undocumented in source. Be warned that the author may not have intended to support it.
srid
long srid()

Returns SRID of the 3D point.

toString
string toString()

Return a printable string representation of this time.

x
double x()

Returns the x coordinate of the 3D point.

y
double y()

Returns the y coordinate of the 3D point.

z
double z()

Returns the z coordinate of the 3D point.

Meta