CMeasureAngles Class Description


The CMeasureAngles class draws angle markers between a vertex and two points on a displayed image. This class works with the CImageView class and opens an Angle Measurement toolbar in the image window. The marker properties and associated measurements are listed in a docking pane or measurement window, as specified. For further information about angle measurements and the toolbar commands, see the Mira User's Guide under the main topic Measuring Images.

Usage

Construction

Object = new_labels()

Object = CMeasureAngles:new()

Destruction

Object:delete()

Creation - Non-class Functions

This function is normally used to create a new CMeasureAngles object as an alternative to the class-based new method.

new_measureangles

Creates a new instance of the CMeasureAngles class.

Construction and Destruction - Class Methods

new

Creates a new instance of the CMeasureAngles class.

delete

Deletes the instance of the CMeasureAngles object.

Operations

Add

Adds an angle marker to the collection and draws it on the image.

Attach

Attaches a CImageView object to the CMeasureAngles object. Use this if the CMeasureAngles was created without passing a CImageView object to the constructor.

SetParams

Sets angle marking properties using members of the AngleParams table.

Related Topics

Contents, Script Classes, CImageView, CImage class


Mira Pro x64 Script User's Guide, Copyright Ⓒ 2024 Mirametrics, Inc. All Rights Reserved.