Answer the question
In order to leave comments, you need to log in
How to determine if 8 points are a square?
There are coordinates (i, j) 8 points (red), how to determine that this set is a square ?
And also how to calculate the coordinate of the blue point if this set is still a square?
Answer the question
In order to leave comments, you need to log in
A quick thought gave such an option - we have points in the format (x, y), we select the plane along which we will group the planes, for example y.
Grouping points:
{
y1 : [ y1x1, y1x2, y1x3],
y2 : [ y2x1, y2x2],
y3 : [y3x1, y3x2, y3x3]
}
{
2 : [2, 3, 4],
3 : [2, 4],
4 : [2, 3, 4]
}
I hope you did not skip the school geometry course and know how to calculate the scalar product of vectors, as well as calculating the length of segments by coordinates. Calculating the coordinates of the blue point is the task of finding the midpoint of the segment between two opposite points.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question