Boundcenter - ObjectVision/GeoDMS GitHub Wiki

Unit functions boundcenter

syntax

  • boundcenter(unit)

definition

boundcenter(unit) results in the mean value for the unit argument.

If a range is configured for a unit, the boundcenter function results in the center value of this range.

If not, the boundcenter results in the center of the default range for the value type of the unit.

applies to

  • unit unit with Numeric or Point value type

example

unit<float32> unit_defined             := range(float32, 2.0, 7.5);
unit<float32> boundcenter_unit_defined := boundcenter(unit_defined);

result boundcenter_unit_defined = 4.75

see also

⚠️ **GitHub.com Fallback** ⚠️