Skip to content
New issue

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

Added Pointtype PointXYZLNormal to common #962

Merged
merged 1 commit into from
Oct 16, 2014

Conversation

mschoeler
Copy link
Contributor

This pull request adds the Pointtype PointXYZLNormal to common. It is needed for the pull request #895.

x = y = z = 0.0f;
data[3] = 1.0f;
normal_x = normal_y = normal_z = data_n[3] = 0.0f;
label = 0;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Zero-initialize curvature as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know. I basically copied over the code from PointXYZINormal.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why that point type misses curvature initialization, but I think it makes much sense to initialize.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok done. also changed the XYZINormal accordingly.

taketwo added a commit that referenced this pull request Oct 16, 2014
Added Pointtype PointXYZLNormal to common
@taketwo taketwo merged commit 9ec37a5 into PointCloudLibrary:master Oct 16, 2014
@mschoeler mschoeler deleted the New_Point_Type branch October 16, 2014 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants