17 #if !defined(OPENNURBS_POINT_GRID_INC_) 18 #define OPENNURBS_POINT_GRID_INC_ 30 void Initialize(
void);
71 bool GetBBox(
double* boxmin,
double* boxmax,
bool bGrowBox =
false )
const override;
113 double* PointArray();
115 const double* PointArray()
const;
117 int PointArrayStride(
141 int m_point_count[2];
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...
int m_point_stride0
Definition: opennurbs_pointgrid.h:142
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
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
ON_3dPointArray m_point
Definition: opennurbs_pointgrid.h:143
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_pointgrid.h:20