Jump to content

Finding the center point of a Rhombicuboctahedron


Recommended Posts

Please sign in to view this quote.

With 3 individual points you can average them. Create a theoretical point and formula the X, Y and Z values to something like (getActual("Point1").x + getActual("Point2").x + getActual("Point3").x)/3

For anyone else who might want to play with a solution, here is a basic model.

Rhombicuboctahedron.zip

Please sign in to view this quote.

That can't work. Imagine having a sphere made of four points (the minimum amount of points needed to define a sphere). The centroid is the center of the sphere. Now introduce several more points to your point set, all of them inside your sphere, so that the circumscribed sphere (the smallest sphere around this point set) doesn't change. The center of that sphere remains unchanged, too, but the centroid of your point set is now different.

Every point of your set has to weigh in to get to the correct centroid. To achieve that, recall all your points into a new point feature or a point set feature. Even a plane feature should work, but only if your points will define any kind of plane.
×
×
  • Create New...