MCPcopy Create free account
hub / github.com/andybarry/makerscanner / AddPoint

Method AddPoint

PointCloud.cpp:60–65  ·  view source on GitHub ↗

Helper function to add a point that creates the PointCloudPoint for you

Source from the content-addressed store, hash-verified

58
59// Helper function to add a point that creates the PointCloudPoint for you
60void PointCloud::AddPoint(double dist, double theta, double phi, int r, int g, int b, int w, int h, int laserPos)
61{
62 // make a new point
63 PointCloudPoint *newPoint = new PointCloudPoint(dist, theta, phi, r, g, b, w, h, laserPos);
64 AddPoint(newPoint);
65}
66
67// Add a point to the point cloud. If there is not already a point at this h, and laserPos, make
68// a new linked list. Otherwise, add to the linked list that we already have for this location

Callers 1

AddPointcloudPointsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected