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

PointCloud init_2d_grid #650

Merged
merged 6 commits into from Nov 25, 2015

Conversation

Projects
None yet
2 participants
@patricksnape
Contributor

patricksnape commented Nov 24, 2015

Add a new constructor that creates either a PointCloud or a TriMesh as a regular a 2D grid.

patricksnape added some commits Nov 24, 2015

Add init_2d_points to PointCloud
Creates a 2D pointcloud on a fixed grid. Allows variable spacing
over each dimension. Also, tests.
Support whatever arguments passed for viewwrapper
Use *args and **kwargs rather than expecting self
Add init_2d_grid to TriMesh
Include creation of regular right-handed triangulation
Fixed bug on centre_of_bounds
Should be floating point divide!
@jabooth

This comment has been minimized.

Member

jabooth commented Nov 25, 2015

nice, +1

jabooth added a commit that referenced this pull request Nov 25, 2015

@jabooth jabooth merged commit 260c274 into menpo:master Nov 25, 2015

3 checks passed

clahub All contributors have signed the Contributor License Agreement.
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@jabooth jabooth removed the in progress label Nov 25, 2015

@jabooth jabooth deleted the patricksnape:pcloud_2d_grid branch Nov 25, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment