Interface DirectionHandler
public interface DirectionHandler
Handles the directional application
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Applies the two results from the polar calculation to a pointdouble
Calculates the X value of a point after rotationdouble
Calculates the Y value of a point after rotationdouble
Calculates the Z value of a point after rotation
-
Method Details
-
apply
Applies the two results from the polar calculation to a point- Parameters:
point
- the point to apply it ton1
- first valuen2
- second value
-
rotateX
Calculates the X value of a point after rotation- Parameters:
p
- original pointtrig
- trig data- Returns:
- rotation
-
rotateY
Calculates the Y value of a point after rotation- Parameters:
p
- original pointtrig
- trig data- Returns:
- rotation
-
rotateZ
Calculates the Z value of a point after rotation- Parameters:
p
- original pointtrig
- trig data- Returns:
- rotation
-