Cartesian3DCoordinateSystem#

class pisces.geometry.coordinates.coordinate_systems.Cartesian3DCoordinateSystem(**parameters)[source]#

Three-dimensional Cartesian coordinate system.

Coordinates#

  • \(x\): Position along the x-axis.

  • \(y\): Position along the y-axis.

  • \(z\): Position along the z-axis.

Conversion#

This system is already Cartesian. Conversion functions return the input.

\[\begin{split}x = x \\ y = y \\ z = z\end{split}\]

Notes

Standard orthonormal coordinate system in 3D Euclidean space.

Methods

__init__(**parameters)

Initialize the coordinate system with validated parameters.

convert_coords_from(other, *coordinates)

Convert coordinates from another coordinate system into this system.

convert_coords_to(other, *coordinates)

Convert coordinates from this system into another coordinate system.

convert_from_cartesian(x, y, z)

Convert coordinates from Cartesian to this system.

convert_to_cartesian(x, y, z)

Convert coordinates from this system to Cartesian.

copy()

Return a shallow copy of the coordinate system.

default_parameters()

Return a copy of the default parameters for this coordinate system.

from_dict(data)

Deserialize a coordinate system from a dictionary.

from_json_string(json_string)

Deserialize a coordinate system from a JSON string.

to_dict()

Return a dictionary representation of the coordinate system, including its class name and parameters.

to_json_string()

Serialize the coordinate system to a JSON string.

Attributes

axes

Return the names of the axes in this coordinate system.

ndim

Return the number of dimensions of this coordinate system.

parameters

Return a copy of the coordinate system's parameters.