def equateCylindrical(point, returnValue): "Get equation for cylindrical." point = evaluate.getVector3ByFloatList(returnValue, point) azimuthComplex = euclidean.getWiddershinsUnitPolar(math.radians( point.y)) * point.x point.x = azimuthComplex.real point.y = azimuthComplex.imag
def equateSpherical( point, returnValue ): "Get equation for spherical." spherical = evaluate.getVector3ByFloatList( returnValue, point ) radius = spherical.x elevationComplex = euclidean.getWiddershinsUnitPolar( math.radians( spherical.z ) ) * radius azimuthComplex = euclidean.getWiddershinsUnitPolar( math.radians( spherical.y ) ) * elevationComplex.real point.x = azimuthComplex.real point.y = azimuthComplex.imag point.z = elevationComplex.imag
def equateSpherical(point, returnValue): "Get equation for spherical." spherical = evaluate.getVector3ByFloatList(returnValue, point) radius = spherical.x elevationComplex = euclidean.getWiddershinsUnitPolar(math.radians(spherical.z)) * radius azimuthComplex = euclidean.getWiddershinsUnitPolar(math.radians(spherical.y)) * elevationComplex.real point.x = azimuthComplex.real point.y = azimuthComplex.imag point.z = elevationComplex.imag
def equateCylindrical(point, returnValue): "Get equation for cylindrical." point = evaluate.getVector3ByFloatList(returnValue, point) azimuthComplex = euclidean.getWiddershinsUnitPolar(math.radians(point.y)) * point.x point.x = azimuthComplex.real point.y = azimuthComplex.imag