We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
int MinimumZoneFitPlane(const Point* pointsIn, int lengthIn, PlaneKernel* outLseg) { ConvexHull hull(pointsIn, lengthIn); std::list faces = hull.GetFaces(); std::vector vertexs = hull.GetVertices(); std::vector pointT(vertexs.size()); for (int i = 0; i < vertexs.size(); i++) { pointT[i].x = vertexs[i].x; pointT[i].y = vertexs[i].y; pointT[i].z = vertexs[i].z; }
std::string filePath = "D:/CMM/PlanePointsVertex.csv"; WritePointsCSV(pointT.data(), pointT.size(), filePath.c_str()); return Geom3DError::OK;
} The above is the call code for computing the 3D convex hull, the result is not correct; PlanePoints.csv
The text was updated successfully, but these errors were encountered:
No branches or pull requests
int MinimumZoneFitPlane(const Point* pointsIn, int lengthIn, PlaneKernel* outLseg)
{
ConvexHull hull(pointsIn, lengthIn);
std::list faces = hull.GetFaces();
std::vector vertexs = hull.GetVertices();
std::vector pointT(vertexs.size());
for (int i = 0; i < vertexs.size(); i++) {
pointT[i].x = vertexs[i].x;
pointT[i].y = vertexs[i].y;
pointT[i].z = vertexs[i].z;
}
}
The above is the call code for computing the 3D convex hull, the result is not correct;
PlanePoints.csv
The text was updated successfully, but these errors were encountered: