OEGeom3DReflectΒΆ

template<class T>
void OEGeom3DReflect(T *xyz,
                     unsigned int axis_to_reflect_around,
                     unsigned int ncoord)

Reflects the coordinates of xyz around the axis given by axis_to_reflect_around. axis_to_reflect_around should be either 0, 1, or 2 for the X, Y, and Z axis respectively.

xyz
Array of coordinates to reflect
axis_to_reflect_around
The axis to reflect around
ncoord
Number of coordinate sets to reflect