point Questions
3
Solved
Why does this java code yield Positive Infinity?
double d = 10.0 / -0;
System.out.println(d);
if (d == Double.POSITIVE_INFINITY)
System.out.println("Positive Infinity");
else
Sy...
Trilly asked 11/9, 2021 at 4:46
4
Solved
Suppose I have a 2 column table like this:
| user_id | int(11) | NO | UNI | NULL | |
| utm | point | NO | MUL | NULL | |
As you can see, it's very simple. utm is a Point data-type. I insert it l...
3
Solved
I have a map with a lot of polygons and a point inside in one of them, like this:
The x and y coordinates of the edges of the polygons are save in a database like this(for example):
Polygon(Poin...
Sunrise asked 27/9, 2013 at 10:8
3
Solved
mongo 2.6
I have some amount of stored polygons. And I have a point. I what to know if this point fits any of stored polygons
document example
{ ..., "polygons" : [ [ 17.60083012593064, 78.18557...
Counterproof asked 4/7, 2014 at 16:45
7
I am wondering how i could generate random numbers that appear in a circular distribution.
I am able to generate random points in a rectangular distribution such that the points are generated wit...
Amalia asked 1/6, 2015 at 0:10
4
Solved
I'm looking for a way to distribute points along a portion of the perimeter of a rectangle. These points needs to be evenly far away from each other.
I have a rectangular (usually square) bounds, a...
3
I am trying to find a simple algorithm to find the correspondence between two sets of 2D points (registration). One set contains the template of an object I'd like to find and the second set mostly...
Earing asked 4/1, 2016 at 22:20
3
Solved
I have put an UIImageView control on my view with IB.
The size of the control is just something I decided upon, pretty random size really
What I want to do is the control to resize automatically wh...
Sox asked 26/9, 2012 at 13:36
15
Solved
I need to find a point that is a visual center of an irregularly shaped polygon. By visual center, I mean a point that appears to be in the center of a large area of the polygon visually. The appli...
4
I have a class describing a Point (has 2 coordinates x and y) and a class describing a Polygon which has a list of Points which correspond to corners (self.corners)
I need to check if a Point is in...
3
Solved
What is the correct order when setting a POINT in MySQL?
Even the answers in SO questions differ on this:
Moving lat/lon text columns into a 'point' type column
Is it
POINT(lat lon)
or
POINT(...
7
Solved
I am looking for an algorithm to generate equally distributed points inside a polygon.
Here is the scenario:
I have a polygon specified by the coordinates of the points at the corners (x, y) for ...
6
Solved
Currently, I'm reading "The Well-Grounded Rubyist" by David A. Black, and I'm stuck at chapter 10.9 (Enumerators and the next dimension of enumerability). My question is about the yield m...
Delate asked 21/2, 2011 at 18:16
3
Solved
I have a table with a POINT geometry field. I enter latitude/longitude points into it like this:
INSERT INTO table( point )
VALUES( POINT( lon_value, lat_value );
Sometimes I do not have lat/lon...
Nowlin asked 12/6, 2015 at 22:18
3
Solved
Is there a built in type Point3 in .Net?
Some kind of this
public class Point3D
{
public double X { get; set; }
public double Y { get; set; }
public double Z { get; set; }
}
but built in. It is...
12
Solved
I have a need to convert Pixels to Points in C#. I've seen some complicated explanations about the topic, but can't seem to locate a simple formula. Let's assume a standard 96dpi, how do I calulate...
1
Solved
I have the Polygon data from the States from the USA from the website
arcgis
and I also have an excel file with coordinates of citys. I have converted the coordinates to geometry data (Points).
N...
1
Solved
I am trying to create a simulation of positions of 4673 of the nearest galaxies.
The galaxies are points.
I want to color a point on mouseover and load the name of the galaxy.
I have spent many ...
Ranchman asked 15/5, 2020 at 14:41
3
Solved
Is there any way to get the + operator to work for the Point object?
Take, for example, this tiny snippet:
this.cm1.Show((MouseEventArgs)e.Location+this.i_rendered.Location);
You see, I try to ...
1
Solved
I'm trying to perform an operation on a whole column but I'm getting a type error, I want to make a column containing a Shapely Point:
crime_df = crime_df[crime_df['Latitude'].notna()]
crime_df = ...
2
Solved
I have a polygon as a string in wkt format:
polygon_as_string = 'POLYGON ((1190500.159499999 7144386.067199998, 1190487.2751 7144390.519699998,...,1190500.159499999 7144386.067199998))'
which I ...
3
Solved
I guess I need to add some explanation, that I want to ask this question, because too short question doesn't quality standards... funny...
So, here is the question:
How I can get the 'y' coordinat...
Vendee asked 25/3, 2014 at 11:50
4
Solved
I have a function to draw Bezier Curve through three points. I have already 2 points (start and end) - A and B. How do I calculate middle point between those two points as middle point would be alw...
3
Solved
I set the two pointers inside ACTION_POINTER_DOWN
point1.set(event.getX(0),event.getY(0));
point2.set(event.getX(1),event.getY(1));
How can I get the distance between this two points?
Is there a...
4
I've got a table in my MySQL database called house.
Within the house table, there are a couple of text columns called latitude and longitude.
I've added a new column called coords, of type point ...
Roth asked 22/4, 2011 at 14:3
© 2022 - 2024 — McMap. All rights reserved.