Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
crgeo
master
Crgeo
Angle
Bearing
Center
Distance
InvalidCoordinates
Normalization
Transfers
CartesianToSpherical
DegToRad
RadToDeg
SphericalToCartesian
Validations
CartesianCoordinates
SphericalCoordinates
Built with Crystal 1.9.2
2023-10-07 18:34:11 UTC
class
Crgeo::Validations::CartesianCoordinates
Crgeo::Validations::CartesianCoordinates
Reference
Object
Defined in:
crgeo/validations/cartesian_coordinates.cr
Constructors
.new
(x : Float64, y : Float64, z : Float64, precision : Float64)
Instance Method Summary
#precision
: Float64
#valid?
: Bool
#x
: Float64
#y
: Float64
#z
: Float64
Constructor Detail
def self.
new
(x : Float64, y : Float64, z : Float64, precision : Float64)
#
[
View source
]
Instance Method Detail
def
precision
: Float64
#
[
View source
]
def
valid?
: Bool
#
[
View source
]
def
x
: Float64
#
[
View source
]
def
y
: Float64
#
[
View source
]
def
z
: Float64
#
[
View source
]