Questions tagged [point]

A point is a fundamental geometry entity.

Points are the basis for any other geometry entities, like lines, boxes, polygons, etc.

Find more information on points here.

2011 questions
0
votes
1 answer

QT c++ draw point qpainter qgraphicscene

Hell-o all, Im new to qt and I am having trouble drawing one single point. I have a big qMainWindow that eventually calls a QgraphicsScene and inside of it I need to draw a single point, one little pixel, that is all I want, I want to use a QPainter…
lesolorzanov
  • 3,536
  • 8
  • 35
  • 53
0
votes
1 answer

Move chart point label to another position and connect them with an arrow

I want to add 26 points into chart and label them from a to z. How do I move the label to a nearby position from its original position and how to use an arrow or other symbols to connect the label and corresponding point? The demo chart looks like…
Dongyu
  • 55
  • 1
  • 5
0
votes
1 answer

3D points linear regression Matlab

I have a set of 3D points (x,y,z) and I would like to fit a straight line using Least absolute deviation method to those data. I found a function from the internet which works pretty well with 2D data, how could I modify this to adapt 3D data…
Lea Xin
  • 11
  • 4
0
votes
0 answers

Keyboard Controlls for video game--python

I'm new to python/pygame and I'm trying to make a game. Basically it is a space ship floating around in space(it will be a scrolling background) pointing towards the mouse/crosshair. on clicking it will shoot bullets. there will be flying enemies…
Indigo2003
  • 27
  • 11
0
votes
1 answer

mean of nearest neighbours marks (Spatial point pattern) markmean

I am trying to obtain the mean value of the marks in each point counting all the points available at certain distance around each point and including the point from where we are measuring. I have used markmean() {spatstats} with a buffer but I am…
YDO
  • 49
  • 8
0
votes
1 answer

wolfram alpha: how to draw two lines, knowing the points

I'm trying to do something that looks quite simple to me, I have two set of points and I want to display the two lines passing through each of the set. for example if I have P1=(1,1) P2=(2,2) and P3=(-1,1), P4=(-2,2), I want wolfram to draw the…
jack_the_beast
  • 1,838
  • 4
  • 34
  • 67
0
votes
1 answer

Swift enable point - make a point be clickable again

I am a beginner and I am building a RPN calculator. I have disabled the point key (not clickable anymore) if the digit situated in the display has already a point. How can I enable it again after having pressed the enter key? Because now, it stays…
kepi
  • 377
  • 1
  • 3
  • 7
0
votes
2 answers

"could not convert string to float value." What have I done wrong with my code?

I'm very new to coding and I don't know how everything works in Python. I know this code isn't write but I need to know how to do these things. #Write a program that prompts the user to enter six points and use Cramer's rule to solve 2x2 linear…
0
votes
1 answer

Altering STEndPoint or STStartpoint of a line using SQL Spatial

I have built SQL Spatial triggers so that if users of our GIS move a pit (point feature) the pipes (lines) that end or start at the pit have their endpoint/startpoint altered. I basically replace the entire geometry. The problem is, some pipes have…
0
votes
1 answer

Put a simple point at OpenStreetMap-tile using OpenLayers

I've read in many threads trying to put a simple point (vector layer) at my OpenStreetMap. I'm guessing it is som kind of problem with different projections but i can´t figure it out by myself. What am i doing wrong in the code below?
0
votes
1 answer

convert float to integer in vhdl using fphdl

I want to use fphdl packages in order to convert floating point to integer in my vhdl code. However i cannot even compile the assignment that uses the related function to_integer . I always get error 'no feasible entries for subprogram to…
user2609910
  • 157
  • 8
0
votes
1 answer

Find the point on a curve which is closest to a given point

I have a curve cutting through my mesh in 2D. It is a moving to the front with time. I have set of points on this curve (front) and my nodes on the mesh. At each time step I need to find which point on the curve (front) is closest to the nodes on…
Noname
  • 355
  • 2
  • 10
0
votes
3 answers

Simplifying 3D points. R

I need to work with 3D data (spatial) very long tables with for coumns: x, y, z, Value There are too many data to be plotted with scatterplot3d or similar (rgl, lattice...) I would like to reduce the number of data. One idea could be to sample. But…
skan
  • 7,423
  • 14
  • 59
  • 96
0
votes
1 answer

How to pass a pointer parameter to callback function in CMSIS-RTOS virtual timer

I try to use CMSIS-RTOS virtual timer to periodically call a function that send "hello world!" to PC by using serial port. I can correct pass a word to the function, but failed to pass a pointer! I have no idea what's the problem. Maybe the…
夏徵帆
  • 1
  • 1
0
votes
1 answer

How found if four points contain a generic P point

I have a set of points (10000 - 15000). For each point, I know the coordinates (X,Y). For any generic P point I want to determine the four points that shape a quadrilateral around P, like in figure [ I tried to calculate the distance between P and…
engpav
  • 1
  • 2
1 2 3
99
100