QGIS/python/plugins/sextante/saga/help/PointCloudAttributeCalculator.html

44 lines
2.4 KiB
HTML

<html>
<head><link rel="stylesheet" type="text/css" href="help.css" /></head>
<body>
<h1 class='module'>Point Cloud Attribute Calculator</h1>
<div class='author'>Volker Wichmann (c) 2010, LASERDATA GmbH</div>
<div class='description'>The Point Cloud Attribute Calculator calculates a new attribute based on existing attributes and a mathematical formula. The attribute fields are referenced by characters 'a' to 'z' with 'a' referencing the first field, 'b' the second field and so on. Please note that the first three fields contain the x,y,z coordinates.<br/>
This (meaningless) example calculates the sine of the x coordinate and multiplies it with the z coordinate: sin(a) * c<br/>
<br/>
The following operators are available for the formula definition:<br/>
+ Addition<br/>
- Subtraction<br/>
* Multiplication<br/>
/ Division<br/>
^ power<br/>
abs(x) - absolute value<br/>
sqrt(x) - square root<br/>
ln(x) - natural logarithm<br/>
log(x) - base 10 logarithm<br/>
exp(x) - exponential<br/>
sin(x) - sine<br/>
cos(x) - cosine<br/>
tan(x) - tangent<br/>
asin(x) - arcsine<br/>
acos(x) - arccosine<br/>
atan(x) - arctangent<br/>
atan2(x, y) - arctangent of x/y<br/>
gt(x, y) - if x&gt;y the result is 1.0, else 0.0<br/>
lt(x, y) - if x&lt;y the result is 1.0, else 0.0<br/>
eq(x, y) - if x=y the result is 1.0, else 0.0<br/>
mod(x, y) - returns the floating point remainder of x/y<br/>
ifelse(c, x, y) - if c=1 the result is x, else y<br/>
int(x) - integer part of floating point value x<br/>
pi() - returns the value of Pi<br/>
</div>
<h2>Parameters</h2>
<dl class='parameters'>
<dt>Point Cloud <div class='type'>Input Point Cloud</div></dt><dd>Input <div class='constraints'></div></dd>
<dt>Result <div class='type'>Output Point Cloud</div></dt><dd>Output <div class='constraints'></div></dd>
<dt>Formula <div class='type'>Text</div></dt><dd> <div class='constraints'></div></dd>
<dt>Output Field Name <div class='type'>Text</div></dt><dd> <div class='constraints'></div></dd>
<dt>Field data type <div class='type'>Choice</div></dt><dd> <div class='constraints'>Available choices: 1 bit, 1 byte unsigned integer, 1 byte signed integer, 2 byte unsigned integer, 2 byte signed integer, 4 byte unsigned integer, 4 byte signed integer, 4 byte floating point, 8 byte floating point</div></dd>
</dl>
</body></html>