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

view one point in different positions

We want to show a point "called type1" in different positions (2,8,..), we used this code: x = linspace(0,30,1000); axis([0,20,-0.4,1.5]); ax = gca; h =…
0
votes
1 answer

Making particles move around the object smoother

i was able to make particles go around the ellipse I created which was my previous question. Now I have another one, flow of the particles are not as smooth as i want, there is this diagonal looking shape they follow and when you move the mouse (the…
user5928872
0
votes
1 answer

Calculate point on a circle in 3D space

i am scratching my head for some time now how to do this. I have two defined vectors in 3d space. Say vector X at (0,0,0) and vector Y at (3,3,3). I will get a random point on a line between those two vectors. And around this point i want to form a…
CosmicSeizure
  • 1,375
  • 5
  • 17
  • 35
0
votes
1 answer

Generating Scatter Points Alogrithm

I am making a game which spawns scattered x number of points. All Points have a constant radius of w The points must follow these rules: Points may not overlap other points Points must be spread apart so that each point is at least DISTANCE away…
Entitize
  • 4,553
  • 3
  • 20
  • 28
0
votes
2 answers

Why doesn't the function draw the point?

I am trying to draw a point on the frame whenever i click the mouse on it on the same position of the click. The code I wrote/copied call the drawing function but the point isn't drawed and I can't figure out the problem. Here it's the code: import…
0
votes
1 answer

Which data type in scala/slick matches the geopoint in mysql?

The question is pretty simple. Basically I have a table which has a column of type POINT. When creating the type mapping in slick, which class should I use to map that column type?
caeus
  • 3,084
  • 1
  • 22
  • 36
0
votes
2 answers

Find point along line where normal extends through another point

Given the line segment AB, how do I find the point Pn where the normal to AB passes through the point P? I also need to know if there is no normal that passes through the point (e.g. the point Q).
SSteve
  • 10,550
  • 5
  • 46
  • 72
0
votes
1 answer

How to know the middle of a LineShape

I have a LineShape in my form and I need that when clicked a label appears exactly in the middle of this line, what is the math I should do to determinate this middle point?
Mateus Barbosa
  • 87
  • 1
  • 13
0
votes
1 answer

What data structure for finding a point in a list of ranges?

I'm trying to find the correct data structure for this use case, but apparently do not have the correct terminology for searching. I have many copies of the following structure: struct Item { var start: Int var end: Int var type: Int } The…
Ben
  • 542
  • 1
  • 5
  • 12
0
votes
2 answers

Calculate angle between 3 points with vector, more precision needed (java)

I need to calculate the angle between 3 points. I've done that using vectors, it looks like it's working, but sometimes I get NaN as a result. To calculate the angle I used the arcos(dot(v1,v2)/(length(v1)*length(v2))) formula. Here's the…
jack_the_beast
  • 1,838
  • 4
  • 34
  • 67
0
votes
2 answers

How to Automatic points in Excel cell?

i want to get an automatic points like this .. i dont know how !! to add points automatically with two or three digits like this when enter without pressing point…
0
votes
1 answer

Setting a custom property of a custom control via mouse click on Form (in DesignMode)

A control of mine has a List as property which needs to be set when that control is constructed. The individual Point's have to be taken from mouse-clicks on the form and it has to happen in the Designmode of Visual Studio. Now my idea was to…
0
votes
0 answers

Merging big files in visual basic

I want merge two file. A file is a text file and is small but other is a video file and is large. How i can merge this two files with low cost time?(first text file and then video file add to this text file) For Samples thanks
0
votes
0 answers

Get X and Y coordinates of a Point after Plotting a Point to a Map

I'm using R to plot some points on a Map using the Maps Library. Here is a sample code of what it may look like. map(database='world', fill=TRUE, border=0, bg='gray', col='white') p <- points(43.951, -79.43155, col=2, pch=20,cex=20) Basically, I'm…
Steven
  • 604
  • 6
  • 11
0
votes
2 answers

The different between Points for daily visits and for login

There are two hooks in myCRED WordPress plugin, points for daily visits and points for login. I do not understand what is the different between them?
assal0le
  • 47
  • 1
  • 1
  • 4