17 #if !defined(OPENNURBS_POINTCLOUD_INC_) 18 #define OPENNURBS_POINTCLOUD_INC_ 51 ON_3dPoint Point( ON_COMPONENT_INDEX ci )
const;
80 bool GetBBox(
double* boxmin,
double* boxmax,
bool bGrowBox =
false )
const override;
119 bool GetClosestPoint(
121 int* closest_point_index,
122 double maximum_distance = 0.0
129 int PointCount()
const;
131 void InvalidateBoundingBox();
134 void SetOrdered(
bool bOrdered);
135 bool IsOrdered()
const;
138 bool HasPlane()
const;
147 bool HasPointNormals()
const;
153 bool HasPointColors()
const;
159 bool HasPointValues()
const;
165 int HiddenPointCount()
const;
166 unsigned int HiddenPointUnsignedCount()
const;
172 void DestroyHiddenPointArray();
181 const bool* HiddenPointArray()
const;
190 void SetHiddenPointFlag(
int point_index,
bool bHidden );
201 bool PointIsHidden(
int point_index )
const;
235 unsigned int m_hidden_count = 0;
239 unsigned int m_flags = 0;
virtual bool Transform(const ON_Xform &xform)
Transforms the object.
virtual int Dimension() const
Dimension of the object.
virtual bool GetBBox(double *boxmin, double *boxmax, bool bGrowBox=false) const
This is the virtual function that actually calculates axis aligned bounding boxes.
virtual bool MakeDeformable()
If possible, converts the object into a form that can be accuratly modified with "squishy" transforma...
virtual bool SwapCoordinates(int i, int j)
Swaps object coordinate values with indices i and j.
virtual ON::object_type ObjectType() const
Useful for switch statements that need to differentiate between basic object types like points...
Base class for all geometry classes that must provide runtime class id. Provides interface for common...
Definition: opennurbs_geometry.h:37
virtual bool GetTightBoundingBox(class ON_BoundingBox &tight_bbox, bool bGrowBox=false, const class ON_Xform *xform=nullptr) const
Get tight bounding box.
Definition: opennurbs_point.h:2018
Definition: opennurbs_bounding_box.h:25
Definition: opennurbs_pointcloud.h:26
virtual void Dump(ON_TextLog &) const
Creates a text dump of the object.
void EmergencyDestroy()
Sets m_user_data_list = 0.
virtual bool IsDeformable() const
ON_Geometry & operator=(const ON_Geometry &)=default
Definition: opennurbs_textlog.h:20
Definition: opennurbs_archive.h:1783
virtual bool Read(ON_BinaryArchive &binary_archive)
Low level archive writing tool used by ON_BinaryArchive::ReadObject().
Definition: opennurbs_point.h:460
bool IsValid(class ON_TextLog *text_log=nullptr) const override
Tests an object to see if its data members are correctly initialized.
virtual bool Write(ON_BinaryArchive &binary_archive) const
Low level archive writing tool used by ON_BinaryArchive::WriteObject().
Definition: opennurbs_plane.h:20