Hello. Could anybody please let me know what the following means? I am uncertain the meaning of (*KM)[i]. I am not sure but it seems that Vec3dArray is an array where each element is a vector of 3 doubles.
So, KM may be a 2-d array of 3 columns and a run-time determined number of rows. Am I right? If so, what (*KM)[i] in the loop means? Thanks.
Vec3d is a vector of 3 doubles.
typedef vector<Vec3d> Vec3dArray
KM = new Vec3dArray(num) where num is an integer
for (i = 0; i < num; i++) {
(*KM)[i] = Vec3d::Zero();
}