Ejemplo n.º 1
0
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
Ejemplo n.º 2
0
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
Ejemplo n.º 3
0
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
Ejemplo n.º 4
0
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