Most voted "geometry" questions
Geometry is a branch of mathematics concerned with questions of shape, size, and relative position of figures and the properties of space. If the question is not about "Geometry", do not use this tag, even if you are using "Geometry" in your project.
Learn more…22 questions
Sort by count of
-
8
votes1
answer1752
viewsVectors and Angles (Molecular Geometry)
Hello, I have a problem, more mathematical than computational, to solve, but I haven’t been able to solve it myself until now... I have a set of three atoms connected to each other forming an angle…
-
8
votes1
answer702
viewsHow to draw a straight using turtle geometry?
I’m trying to supplement my answer to a question about intersections of circles. In this answer, at a given time, I get an equation of the line in through the coefficients a,b,c: r: a*x + b*y + c =…
-
7
votes1
answer5112
viewsHow to detect what are the common points between two circles?
I need assistance for the following program: Receive from the keyboard the equations of two circles: c1= X^2+y^2+ax+by+c=0 c2= X^2+y^2+a2=x+by+c=0 and show if the circles have points in common,…
-
5
votes1
answer2096
viewsAlgorithm for cutting plane
I don’t know if this is the best place to ask this question, but I searched the Internet a lot for some algorithm for cutting plan - that informing the dimensions of the pieces it shows the best…
-
5
votes1
answer116
viewsHow to find the intersection between a line and a mathematical function?
I have a problem where I need to find the intersection of two mathematical functions. I have the formula of the first function and two coordinates, where ab and cd are my points. To pass these…
-
4
votes1
answer648
viewsHow to convert screen coordinates to Cartesian coordinates?
In Python: How to convert screen coordinates to cartesian coordinates, where there can be positive and negative points and the center of the screen is (0.0)?
-
4
votes2
answers825
viewsAlgorithm to return the point of intersection
I need to return the relative positions between two straight lines, at this point in the program I’m sure they are competitors. My method performs the following equation to avoid the use of linear…
-
4
votes1
answer460
viewsHow to check if a polygon is regular or convex
Is there a function in R that checks whether a polygon is regular or not and some that checks whether it is convex or not? If either answer is no, any idea? As I thought: #Por exemplo um…
-
4
votes2
answers2248
viewsLatitude and Longitude Calculation - Approximation
You guys, I’m in a bit of a pickle... Currently I have the data Latitude and Longitude of business registers in my database, with this I need to bring data next to me, in case would have latitude…
-
3
votes1
answer115
viewsVector calculus C++
I need to implement some vector and matrix operations, such as internal product, vector, other operations with matrices (inverse, transposed, conjugated, determinant, etc.) and to solve certain…
-
3
votes1
answer212
viewsHow to check if a polygon is convex
How do I check if a polygon is convex? The input can be given by: #Por exemplo um quadrilátero, a primeira coluna é x e a segunda coluna é y. quadrilatero = matrix(c(0,2,-7,1,4,3, 4,5), ncol = 2)…
-
2
votes3
answers1854
viewsHow to return points within lightning?
I am developing an app where I would need to return points (Lat, Long) in a radius of size X (Km) from the user’s location (Lat, Long). I’ve devised the following logic: Get current user location…
-
2
votes1
answer364
viewsHow to know if three points are clockwise or not in C/C++?
Given three points P1, P2 and P3, what is the best way to know whether this order is clockwise, counterclockwise, or neither (the three are collinear)? For example, in the image below the dots are…
-
2
votes1
answer849
viewsHow to find the vector corresponding to the angle in 3 dimensions?
Hello, I’m doing a 3-D game and I’m having trouble doing a 3-D raycasting. In this case, I want to do it for the camera, to see if there is no object between the camera and the player. For this I…
-
2
votes1
answer31
viewsGet/Calular edges of a 3D object
I have the following question regarding obtaining the positions of a certain edge of a 3D object. Example, I have a track (car game) and I want to calculate, through a script C#, both sides of the…
-
1
votes0
answers59
viewsHow to search by distance
I have a database with coordinates of several locations. I would like to know how, from an informed location, to get only the places you are until a certain distance. I saw a similar question: How…
-
1
votes1
answer541
viewsCalculate the diameter of a circle to fill the rectangle according to the mouse position
My question is more for math than programming. but Anyway... I am creating a small script to determine the position (which is done by the mouse) and the diameter of a circle that is inside a…
-
1
votes1
answer141
viewsDetect collision from a rotated rectangle?
I’m using the following code to know if a point is inside a rectangle: public bool Intersect(ÍcaroDantasCollisions.Rectangle rectangle) { if(x >= rectangle.x && x <= rectangle.x +…
-
1
votes1
answer77
viewsRotate points belonging to a Bezier curve in canvas js
all right? I’d like help with a problem I recently got while working with JS. I need to make a function in JS that can rotate a set of points present in a Bezier curve. I previously researched a way…
-
1
votes1
answer68
viewsHow to catch the points of a circle through an angle in a Cartesian plane?
Imagine a circle with a radius of five on the Cartesian plane. By analogy I already know the following angles: 0° (ou 360°): (x = 5, y = 0) 90° : (x = 0, y = 5) 180° : (x = -5, y = 0) 270° : (x = 0,…
-
0
votes1
answer620
viewsTranslation, rotation and scale of a rectangle
Imagine the following rectangle A and rhombus B: Rectangle A has dimensions 4200 by 3000. Rhombus B has the maximum dimensions of 167 by 167, its sides have 98 by 98. Rectangle A is equivalent to…
-
0
votes1
answer181
viewsDistance between a line and a point in three-dimensional space
Let’s say there are three points in a 3D space (dots A, B and P). Let’s also say that there is a straight line through A and B. What I’m trying to do, actually, is find out if a reta AB intercept…