Interface DirectionHandler
public interface DirectionHandler
Handles the directional application
-
Method Summary
Modifier and TypeMethodDescriptionvoidApplies the two results from the polar calculation to a pointdoubleCalculates the X value of a point after rotationdoubleCalculates the Y value of a point after rotationdoubleCalculates 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
-