DriveWorks Pro 18: VectorMin [send feedback...]

VectorMin

This function creates a new vector using the lower value of each component of the two vectors, and returns the result as a pipe-bar delimited list.

Syntax

VectorMin([Vector 1], [Vector 2])

Where:

Vector 1 is a pipe-bar delimited list representing the first vector (X|Y|Z).

Vector 2 is a pipe-bar delimited list representing the second vector (X|Y|Z).

Examples

RuleResult
VectorMin("5|8","4|9")Will return the lower values from each co-ordinate given in the 2D vector, 4|8.
VectorMin("5|8|12","4|9|12")Will return the lower values from each co-ordinate given in the 3D vector, 4|8|12.
Floating Point Precision

Due to floating point precision, some calculations may not be as precise as expected.

This can be avoided by following the advice in the topic Info: Floating Point Precision.


Please see How To: Understanding Vector Functions for more information on Vectors, all the Vector functions provided in DriveWorks and use case examples.

Table of Contents