Questions tagged [points]

A scoring system for games or algorithms. Geometric items should be tagged with coordinates or point.

This tag represents:

  • an arbitrary numerical counter for games or scoring algorithms

Please do not use this tag for:

  • a dimensional measurement for geometric calculations, such as [x, y, z] -- instead use
  • a coordinate in GPS mapping -- instead use
866 questions
-2
votes
1 answer

How to find face shape and points to fix eye glass

Possible Duplicate: iphone app to recognise eyes in a scanned image of a person I am developing a ipad application in that i need to upload a photo from library or using camera, while uploading i need to take position(points) of the eye to fix my…
ganesh
  • 131
  • 2
  • 11
-3
votes
1 answer

Saving Mediapipe Face Mesh Landmarks frame by frame from a video

I want to know how to save the output of facial landmarks frame by frame from a video using Mediapipe.
-3
votes
1 answer

How to calculate a football team's total points received in a given season?

I'm actually trying to understand if I'm following the right path in a calculation. So there's a team, say Resen FC, with results in a season of 34 weeks as follows; "3,1,1,1,0,0,3,1,1,3,3,0,0,1,3,1,3,3,1,1,0,0,0,0,3,1,1,1,0,3,3,0,1,1" These…
goodyonsen
  • 71
  • 4
-3
votes
2 answers

How to convert values in string into System.Windows.Point in C#?

I am using C# and I have a string with the values like strResult = "(30,40),(189,339),(30,40),(60,30)". I wanted to convert these value into System.Windows.Point . so that 1st value of point[0].x = 30 ,point[0].y = 40 and so on. { string[] numbers…
-3
votes
1 answer

Need to check if point X is in any distance from a line made between 2 dots

I am using Sourcepawn, can also understand java ,but I need just a tip, idea to work on - 2 red dots are end points of the beam. Beam can be in any angles (X,Y). I need to focus on green dot, check the closest distance between orange line (I don't…
bonk
  • 5
  • 6
-3
votes
1 answer

C# Find Nearby Points on a XY Grid

Say I have an grid of 100by100. Now I have a location on 23,70. How can I find all XY points on this grid within a distance of 5?
user3273364
-3
votes
1 answer

How to use a point to discribe the trail of an object with package matplotlib

In the while loop,the command "plt.plot(x,y,'*')" paints the trail of an object.SO there are many points painted in the axes.But i just want a moving point to discribe the trail.Details are in the "while loop" of following codes. import…
David
  • 35
  • 11
-3
votes
3 answers

Detecting that a button's function is completed

I placed an actionListener on some JButtons I created. It is such that if the user clicks a button, another class is called-up. I want to detect if that class has finished its function... for more clarity, here is my…
thePatriarch
  • 97
  • 1
  • 12
-4
votes
1 answer

Typing challenge in 5 seconds in game

I am doing an RPG game in batch file and I want to make a challenge for user to type word like ‚butter’ in 5 seconds. If he’s not going to do this he will get nothing and go back. But if he is going to type correctly he will gain money. And I want…
Ionicjohn
  • 1
  • 4
-4
votes
1 answer

Maximum number of points between two parallel lines

I am given N+2 points with integer coordinates. 2 of them are base-points. Two parallel lines need to be drawn through the given base-points. What is the maximum number of points situated between the two parallel lines? Sorry for my english and…
user1359532
  • 147
  • 1
  • 4
-7
votes
1 answer

Convert c++ vector to c-style pointer

vector >a(3,vector(4)); double *p = a[0]; Why this is wrong, a[0] is not the address of the first dimension of a?
tenos
  • 909
  • 1
  • 9
  • 16
1 2 3
57
58