Questions tagged as 'geometria'

1
answer

Vectors and Angles (Molecular Geometry)

Hello, I have a problem, more mathematical than computational, to solve, but I have not been able to solve it myself until now ... I have a set of 3 atoms connected to each other forming an angle X between the bond. I need to implement a c...
asked by 19.07.2014 / 18:52
1
answer

Algorithm for cutting plane

I do not know if this is the best place to ask this question, but I searched a lot on the internet for some algorithm for cutting plan - which, by informing the dimensions of the pieces, shows the best arrangement so that it is minimized as litt...
asked by 04.08.2014 / 19:53
1
answer

How to convert screen coordinates to Cartesian coordinates?

In Python: How to convert screen coordinates to Cartesian coordinates, where there may be positive and negative points and the center of the screen is (0,0)?     
asked by 18.02.2014 / 17:34
2
answers

Algorithm to return the point of intersection

I need to return the relative positions between two lines, at this point in the program I'm sure they are competing. My method performs the following equation to avoid using linear systems: Ifindalambdaandreplaceitintheequationtofindthepointinco...
asked by 05.08.2015 / 21:32
1
answer

How to check if a polygon is regular or convex

Is there a function in the 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 ideas? As I thought: #Por exemplo um quadrilátero, a primeira coluna é x e a segunda...
asked by 27.04.2016 / 17:53
2
answers

Calculation of Latitude and Longitude - Approximation

I'm having a hard time ... Currently I have the data Latitude and Longitude of company records in my database, with this I need to bring data close to me, in case I would have latitude and longitude of my position, for example, to bring compa...
asked by 08.07.2016 / 14:48
0
answers

How to draw a line using turtle geometry?

I'm trying to complement my answer to a circumference intersection question . In this answer, at a given moment, I get an equation of the line through the coefficients a,b,c : r: a*x + b*y + c = 0 I would like to represent this line...
asked by 06.12.2017 / 03:59
1
answer

How 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) Output is TRUE or FALSE .     
asked by 28.04.2016 / 13:29
1
answer

C ++ vector calculus

I need to implement some vector and matrix operations, such as internal product, vector, other operations with matrices (inverse calculation, transposed, conjugated, determinant, etc.) and solving certain problems of linear algebra and analytic...
asked by 23.12.2015 / 18:42
1
answer

How 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 if this order is clockwise, counterclockwise, or neither (all three are collinear)? For example, in the following image the points are clockwise: In the same case, if the...
asked by 28.04.2016 / 18:58