angle Questions

3

I have a class that implements SensorEventListener and I would like to get the tilt Angle of my device using the Accelerometer. I looked for examples on the internet but they use Sensor.TYPE_MAGN...
Oralle asked 22/8, 2012 at 4:44

1

Solved

How would you calculate the degrees between two points on the edge of a circle in Swift.
Darwen asked 21/2, 2015 at 1:45

3

Solved

I would like to get an angle in terms of 360 degrees... for my game, I need to know which direction the player is heading in... The code here gets the proper angles, but only in terms of 90 deg...
Tmesis asked 29/1, 2015 at 23:47

5

Solved

I have three vectors V1, V2, and V3. Their origin points are on the axes' origin. How could I determine whether V3 is between V1 and V2 when I move around counterclockwise from V1 to V2? alt text ...
Kesterson asked 28/3, 2009 at 23:52

1

I have a marker in my Google Maps map that looks like this: When the user is driving, I want to rotate it based on his driving direction. How can I achieve this? I should probably use previous l...
Wilmington asked 23/11, 2014 at 17:40

2

Solved

Because this is a complex question that usually results in much confusion (I've asked variations on this question previously, but never asked the question the right way and never got an answer), I'...
Amalberga asked 14/6, 2014 at 4:13

3

Solved

I need to move a rectangle using angles. Actually I want to change the direction of my moving rectangle when it reaches the location I have given in my code in if statement! I just need the way I ...
Moule asked 2/6, 2014 at 15:18

1

So I'm very new to quaternions, but I understand the basics of how to manipulate stuff with them. What I'm currently trying to do is compare a known quaternion to two absolute points in space. I'm ...
Misbelief asked 8/1, 2011 at 21:51

2

Solved

How can I find the angle (0 to 360 degrees, rotating clockwise) between 0,1 and another point (in the following diagram, 0.3,-0.17), with the origin at 0,0? Here's a somewhat crudely drawn il...
Yabber asked 1/5, 2014 at 13:22

1

Solved

I am looking for an algorithm to calculate the angle between two points (defined by x and y valaue) in an image. The angle should be between the horizontal-line of one of these points and the...
Respire asked 8/4, 2014 at 18:11

1

Solved

I have some angular data (on a scale of 0°-360°). I have successfully created a circular plot using the 'circular' package in R, but the axis labels read in an anticlockwise direction, rather than ...
Aeneid asked 26/1, 2014 at 14:10

2

Solved

I'm trying to find a way to calculate the intersection between two arcs. I need to use this to determine how much of an Arc is visually on the right half of a circle, and how much on the left. I th...
Mahon asked 21/3, 2012 at 8:16

5

Solved

I need an algorithm to figure out if one angle is within a certain amount of degrees from another angle. My first thought was (a-x < b) && (a+x > b), but it fails when it has to work...
Iq asked 17/10, 2009 at 2:49

2

Solved

I'm a newbie on CSS3 and all I know is self-learned, reading you guys or any other tutorials so after hours of researching and trial-error, I could really use your help :(. I'm trying to rotate JU...
Narceine asked 3/12, 2013 at 22:5

2

Solved

I'm working in another iPhone App that uses AR, and I'm creating my own framework, but I'm having trouble trying to get the angle of a second coordinate relative to the current device position, any...
Genarogendarme asked 28/9, 2010 at 2:1

4

I want to find an angle between two known geolocations.Basically what I want is, I want to direct an arrow whose tail point is at my current location and arrow head is pointing towards a fixed geol...
Multifid asked 31/5, 2011 at 14:38

1

Solved

I've been working with points in a 3D space (X,Y,Z) and want to be able to calculate the pitch and yaw between two of these points. My current code: pitch = (float) (1/Math.tan((Y1 - Y2) / (Z1 - ...
Telescope asked 12/8, 2013 at 10:36

2

I have been trying to find the difference between the 2 but to no luck minus this The primary diff erence between the two representations is that a quaternion’s axis of rotation is scaled by ...
Exemplum asked 23/2, 2012 at 16:40

3

Solved

I need to calculate the angle between 3 points. For this, I do the following: Grab the 3 points (previous, current and next, it's within a loop) Calculate the distance between the points with Pyt...
Sato asked 1/8, 2013 at 14:32

1

Solved

I want to get angle between 3 points in JavaScript. If I have points A(x1,y1), B(x2, y2) and C(x3, y3), I want to get angle that is formed with lines AB and BC. let A = {x:x1, y:y1}, B = ...
Woodward asked 20/7, 2013 at 14:48

1

Solved

I currently have a function which detects the direction of the mouse enter. It returns an integer (0-3) for each section as illustrated below. I'm trying to figure out how to alter this function...
Tallbott asked 20/5, 2013 at 13:41

2

Solved

What is the fastest way to calculate angle between a line and the x-axis? I need to define a function, which is Injective at the PI:2PI interval (I have to angle between point which is the uppermo...
Oona asked 23/10, 2011 at 18:16

4

Solved

I am rotating points around a center point in 2D space. The points are the center point, the old mouse position, and the new mouse position. My rotation function works fine, and I can calculate the...
Gwenngwenneth asked 26/1, 2012 at 17:34

5

Solved

I am trying to make the game Asteroids. My issue I have right now, is if you press the UP Arrow key, it will move the "ship" 10 pixels up. And if you hit the LEFT Arrow key, it will turn the "ship"...
Pompadour asked 3/9, 2010 at 19:24

2

Crunch crunch. Using the calculations from Getting End Point in ArcSegment with Start X/Y and Start+Sweep Angles, how could I scrunchify or inflate(-ify) angles. See images below. Green box is orig...
Nano asked 1/4, 2011 at 15:53

© 2022 - 2024 — McMap. All rights reserved.