Beispiel #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
Beispiel #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
Beispiel #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
Beispiel #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