Sync changes from upstream repository

Co-authored-by: Steve Baer <steve@mcneel.com>
Co-authored-by: Nathan Letwory <nathan@mcneel.com>
Co-authored-by: Dale Lear <dalelear@mcneel.com>
This commit is contained in:
Bozo The Builder
2019-11-05 18:13:55 -08:00
committed by Will Pearson
parent b844466e88
commit 799431a63b
130 changed files with 29557 additions and 9236 deletions

View File

@@ -78,6 +78,16 @@ ON_PointCloud& ON_PointCloud::operator=( const ON_PointCloud& src )
return *this;
}
ON_PointCloud::ON_PointCloud(const ON_3dPoint* P0, int count) : m_P(count)
{
m_P.Create(3, false, count, 3, P0[0]);
}
ON_PointCloud::ON_PointCloud(const double* P0, int dim, bool is_rat, int count) : m_P(count)
{
m_P.Create(dim, is_rat, count, dim + is_rat, P0);
}
ON_PointCloud::~ON_PointCloud()
{
Destroy();