brazerzkidaitechnologies.blogg.se

Layouteditor macro functions
Layouteditor macro functions





layouteditor macro functions

All Points of the element must be inside the region. If two coordinate were added before with the point or p command, all element in the region p1,p2 are selected. If one coordinate was added before with the point or p command, the nearest element is selected. This value is the factor of these integers to the real value. double drawingField::databaseunitsĪll coordinates are integer. double drawingField::userunitsĪll values in the main widget are displayed in this unit. If this member is true, the grid is automaticly change after changing the scale. This member holds the actuell grid-offset in Y in drawinguntis bool drawingField::gridauto This member holds the actuell grid-offset in X in drawinguntis int drawingField::gridOffsetY This member holds the actuell X-grid in drawinguntis int drawingField::gridOffsetX This member holds the actuell X-grid in drawinguntis int drawingField::gridY This is the default layer, on which most of the operation take place. This is a list of all cells in the drawing. Member Documentation cellList* drawingField::firstCell The characters are essential, if used in a macro. currentCell holds a point to the curretnly displayed cell.Īll members of the drawingField class are useable in a simplyfied form without braces, commas and semicolons from the commandline-toolbar. The different cell are accessabe via firstCell. The basic setup is stored in databaseunits, userunits and databaseunits. In the drawingField all drawing relevant information are accessible. This object can be accessed via the layout class.

LAYOUTEDITOR MACRO FUNCTIONS WINDOWS

Public Member Functions voidĮach layout main windows has exactly one object of the class drawingField. Returns: sqrt(2)=1.Head class of the drawing more. The nearest integral value that is not larger in magnitude than x. The tanh() function returns the hyperbolic tangent of x, which is defined mathematically as: tanh(x) = sinh(x) / cosh(x) The tan() function returns the tangent of x, where x is given in radians. The sqrt() function returns the non-negative square root of x. The sinh() function returns the hyperbolic sine of x, which is defined mathematically as: sinh(x) = (exp(x) - exp(-x)) / 2 The sin() function returns the sine of x, where x is given in radians. These functions round x to the nearest integer The pow() function returns the value of x raised to the power of y. Static double math::pow(double x,double y) The log() function returns the natural logarithm of x. This functions return the base 10 logarithm of a. These functions return the largest integral value that is not greater than a. The exp() function returns the value of e (the base of natural logarithms) raised to the power of a. The cosh() function returns the hyperbolic cosine of x, which is defined mathematically as: cosh(x) = (exp(x) + exp(-x)) / 2 The cos() function returns the cosine of x, where x is given in radians. The smallest integral value that is not less than x. The atan() function calculates the principal value of the arc tangent of x, that is the value whose tangent is x. The asin() function calculates the principal value of the arc sine of x, that is the value whose sine is x. The acos() function calculates the arc cosine of x that is the value whose cosine is x. It is not available in the other interfaces, as there are native ways for this mathematical features. This class exists only for the LayoutEditor C++ Macros. MemberĬlass to access math functions similar to the standard C library math.h.Įxample: double radius=math::acos(0.5678) Mathematic function to use in LayoutEditor C++ Macros.







Layouteditor macro functions