|
CMeasureAngles:new
The new method constructs a new instance of
a
CMeasureAngles object. You must create the
object before using
any class methods or properties. Note that the
object can also be created using
new_measureangles.
Syntax
|
C = CMeasureAngles:new()
Creates a
default CMeasureAngles object with properties initialized to
default values.
C = CMeasureAngles:new( Params )
Creates a
CMeasureAngles object with default properties updated to
values in the
AngleParams Table, Params.
C = CMeasureAngles:new(
CMeasureAngles_old )
|
This is a copy
constructor. It creates a new CMeasureAngles object
initialized to the members of theCMeasureAngles_old argument.
Example
The following script creates a new
CMeasureAngles object, uses it, then deletes it when no
longer needed.
|
A = CMeasureAngles:new()
|
|
|
|
|
|
A:Add( I, 100, 200, 50, 70, 120, 180
)
|
|
|
|
|
|
A:delete()
|
|
Related Topics
CMeasureAngles class
delete
AngleParams Table
new_measureangles
Mira Pro x64 Script User's Guide, v.8.76 Copyright Ⓒ 2024
Mirametrics, Inc. All Rights Reserved.
|