geometry Questions
2
Solved
I don't want to resort in converting my geography data to geometry just so it returns true in STIntersect.
Here is the code in SQL:
DECLARE @point GEOGRAPHY = GEOGRAPHY::Point(1, 1, 4326)
DECLARE...
2
Solved
So, I have this algorithm to calculate cross-section of 3D shape with plane given with normal vector.
However, my current problem is, that the cross-section is set of 3D points (all lying on that ...
2
Solved
A user will define a line on screen which will have, when drawn, a given thickness (or width).
I now need to be able to determine the coordinates of a bounding rectangle around this.
I have the ...
6
Solved
While working on SVG implementation for Internet Explorer to be based on its own VML format I came to a problem of translation of an SVG elliptical arc to an VML elliptical arc.
In VML an arc is g...
7
Solved
How can I tell whether two triangles intersect in 2D Euclidean space? (i.e. classic 2D geometry) given the (X,Y) coordinates of each vertex in each triangle.
Lookout asked 18/10, 2009 at 17:13
12
Solved
I have the coordinates of the top left point of a rectangle as well as its width, height and rotation from 0 to 180 and -0 to -180.
I am trying to get the bounding coordinates of the actual box ar...
Berar asked 7/3, 2009 at 17:3
8
Solved
Given a 3D point (x, y & z), and a triangle made of three other 3D points, how can I determine if the point is in triangle?
I've read a lot about doing this in 2D, the most helpful being http:...
1
I am trying to persist GIS point data in spring-boot 2.6 with a H2 in mem database.
I have followed the setup as per here with the exception of the newer spring-boot version.
My build.gradle
plugin...
Vladikavkaz asked 31/3, 2022 at 11:16
2
Solved
I have a collection of points that join to form a polygon in 2D cartesian space. It is in the form of a python list of tuples
[(x1, y1), (x2, y2), ... , (xn, yn)]
the problem is the join them an...
Fane asked 1/6, 2012 at 7:49
10
Solved
I am looking to be able to generate a random uniform sample of particle locations that fall within a spherical volume.
The image below (courtesy of http://nojhan.free.fr/metah/) shows what I am lo...
Logjam asked 23/3, 2011 at 16:11
11
Solved
This is a question that I was asked on a job interview some time ago. And I still can't figure out sensible answer.
Question is:
you are given set of points (x,y). Find 2 most distant points. Dis...
Joe asked 29/4, 2010 at 9:53
5
I have a set of 2D points. I need to find a minimum area ellipse enclosing all the points. Could someone give an idea of how the problem has to be tackled. For a circle it was simple. The largest d...
Larondalarosa asked 6/11, 2016 at 22:44
4
Is there anyway that allows me to find all the intersection points between a line and a grid? ( The intersection circles are not drawn to scale with each other, I know)
A brute force way is to c...
1
Solved
I'm having an issue with drawing an ellipse object using OpenGL (sharpgl to be exact since it works well enough with WPF).
Right now I'm using this code (angles are in degrees):
gl.Begin(OpenGL.GL_...
Kappel asked 21/2, 2022 at 15:36
3
Solved
I am trying to find the X, Y points on a circle where 0 degrees starts at the top of the circle and moves clockwise. Typically, to find the x, y coordinates on a circle with a known radius and angl...
Scuttlebutt asked 26/4, 2017 at 18:22
1
Solved
Lets say I have the data to render two overlaying bezier-based shapes, that are overlapping, displayed in a svg or on the canvas (doesn't really matter where). I would like to calculate the outline...
Settles asked 11/2, 2022 at 8:38
7
Solved
BOUNTY STATUS UPDATE:
I discovered how to map a linear lens, from destination coordinates to source coordinates.
How do you calculate the radial distance from the centre to go from fisheye to ...
Parka asked 19/3, 2010 at 13:50
9
Solved
What the most efficient way in the programming language R to calculate the angle between two vectors?
Sihun asked 13/12, 2009 at 20:55
4
Solved
I have a basic JSFiddle whereby I want to have random points plotted inside a circle.
But I do not know how to limit the points to be inside the circle.
This is what I currently have:
var ctx = ...
Sherronsherry asked 18/9, 2015 at 1:18
3
My problem statement:
I have a polyline, and I want to do variable width offset along the points, in just one direction. How can I do it? For the polyline, I just need to support straight lines, no...
Louvain asked 6/1, 2022 at 6:19
2
What is anisotropic scaling? And how is it achieved w.r.t image processing and computer vision?
I understand that it is some form of non-uniform scaling as Wikipedia puts it, but I still don't get...
Ostosis asked 23/4, 2017 at 22:33
7
Solved
I have to find max number of rectangles from a given set of coordinates.
Consider the following coordinates are given in an X Y coordinate system
3 10,
3 8,
3 6,
3 4,
3 0,
6 0,
6 4,
6 8,
6 10,
H...
Welldressed asked 5/10, 2013 at 22:7
1
I'm trying to zoom at mouse position, like say on google maps. It kind of works but it shifts the point i want to zoom in on wherever it matches up with the original.Then when i zoom at that point ...
Unyoke asked 18/6, 2017 at 10:35
2
Solved
How do I fund the nearest LINESTRING near a point?
First I have a list of LINESTRING and point value. How do I have the nearest LINESTRING to the POINT (5.41 3.9) and maybee the distance?
from shap...
5
Solved
I'm trying to fit some data points in order to find the center of a circle. All of the following points are noisy data points around the circumference of the circle:
data = [(2.2176383052987667, 4....
© 2022 - 2024 — McMap. All rights reserved.