CCentroid:new CCentroid:Calc

CCentroid:delete


The delete method deletes an instance of the CCentroid class. Typically, the object should be deleted when you are finished using it in order to release memory used by the object.

Syntax

CCentroid:delete()

Example

 

C = CCentroid:new()

-- create a new instance of of the CCentroid class.

  ...

-- do something with the CCentroid.

C:delete()

-- delete the object and its associated memory.

Related Topics

CCentroid, new