CMeasurePoints:new
The new method constructs a new instance of a CMeasurePoints object. You must create the object before using any class methods or properties. Note that the object can also be created using new_measurepoints.
C = CMeasurePoints:new() Creates a default CMeasurePoints object with properties initialized to default values. C = CMeasurePoints:new( Params ) Creates a CMeasurePoints object with default properties updated to values in the PointParams Table, Params. C = CMeasurePoints:new( CMeasurePoints_old ) |
This is a copy constructor. It creates a new CMeasurePoints object initialized to the members of theCMeasurePoints_old argument.
The following script creates a new CMeasurePoints object, uses it, then deletes it when no longer needed.
|
-- create a new CMeasurePoints |
-- do things with the point description |
|
|
-- draw a marker |
-- do other things |
|
|
-- delete the object |
CMeasurePoints class, delete, LineParams Table, new_measurepoints
Mira Pro x64 Script User's Guide, v.8.73 Copyright Ⓒ 2024
Mirametrics, Inc. All Rights Reserved.