mirror of
https://github.com/mcneel/opennurbs.git
synced 2026-03-17 06:46:01 +08:00
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:
committed by
Will Pearson
parent
b844466e88
commit
799431a63b
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user