Help - Method
From GraphicMeasurer Help
A method is a function which belongs to a graphical object. Methods have, in contrast to global functions, access to the data of the owner-object.
Example
Let the following example be part of a result sheet with a linked graphical analysis which is mapped under the name A
. Furthermore let the graphical analysis contain two line line1
and line2
.
=A.F[0].line1.angleTo(A.F[0].line2)
In this example the method angleTo
of the graphical object line1
(instance of Line) is called. This method has access to the owning object (line1
) and to the given parameters (line2
in this case.) and can therefor calculate and return the angle between these two lines.