17 #if !defined(OPENNURBS_POINTCLOUD_INC_)
18 #define OPENNURBS_POINTCLOUD_INC_
51 ON_3dPoint Point( ON_COMPONENT_INDEX ci )
const;
127 bool GetClosestPoint(
129 int* closest_point_index,
130 double maximum_distance = 0.0
137 int PointCount()
const;
139 void InvalidateBoundingBox();
142 void SetOrdered(
bool bOrdered);
143 bool IsOrdered()
const;
146 bool HasPlane()
const;
155 bool HasPointNormals()
const;
161 bool HasPointColors()
const;
168 int HiddenPointCount()
const;
174 void DestroyHiddenPointArray();
183 const bool* HiddenPointArray()
const;
192 void SetHiddenPointFlag(
int point_index,
bool bHidden );
203 bool PointIsHidden(
int point_index )
const;
virtual ON_BOOL32 IsValid(ON_TextLog *text_log=NULL) const =0
virtual ON_BOOL32 Transform(const ON_Xform &xform)
virtual bool GetTightBoundingBox(ON_BoundingBox &tight_bbox, int bGrowBox=false, const ON_Xform *xform=0) const
virtual bool MakeDeformable()
virtual ON::object_type ObjectType() const
virtual bool IsDeformable() const
virtual ON_BOOL32 SwapCoordinates(int i, int j)
virtual int Dimension() const =0
ON_SimpleArray< ON_3dVector > m_N
virtual ON_BOOL32 Read(ON_BinaryArchive &binary_archive)
ON_Geometry & operator=(const ON_Geometry &)
virtual ON_BOOL32 Write(ON_BinaryArchive &binary_archive) const
ON_SimpleArray< ON_Color > m_C
ON_SimpleArray< bool > m_H
virtual ON_BOOL32 GetBBox(double *boxmin, double *boxmax, int bGrowBox=false) const =0
virtual void Dump(ON_TextLog &) const