Coordinates

Apply Transform

Apply a cartesian coordinate translation and rotation.

Calculate Coordinates

Given a vector and a set of orthonormal basis vectors expressed in a common set of cartesian coordinates, calculate the coordinates of the vector in the basis.

Calculate Segment Lengths DBL

Given an array of n-dimensional points, calculate the lengths of the segments between them.

Calculate Two Segment Length

Calculate the total length of two line segments.

Calculate Vector Length

Calculate the length of a cartesian vector.

Center from 3 Points

Calculate the center of a circle based on three points on the circle.

Cylindrical to Cartesian

Convert R,Th,Z to X,Y,Z.

Find Transform

Given a set of three points defined in a cartesian coordinate system, and the desired set of coordinates for those same three points, determine the translation and rotation needed to perform the desired transform (scaling is not allowed). To solve this problem, the translation is first found by generating an orthonormal basis based on difference vectors. The rotation is then found by matrix inversion.

Generate Orthonormal Basis

Generate a set of orthonormal basis vectors from three points given in cartesian coordinates. The basis vectors are found by normalizing: w1=p1-p2 w2=w1 x (p2-p3) w3=w1 x w2

Generate Rotation Matrix

Generate a 3x3 rotation matrix with specified diagonal elements, +/- the off diagonal element, and specified axis unrotated.

MGI Create Translation Matrix from V and Mrot

Calculate the 4X4 translaction matrix that will perform the specified Rotation and Offset.

Rotate Vector Radially

Perform a 3D vector roation in the r-z plane.

Rotate Vector

Perform a 3D vector rotation about a coordinate axis.

Shortest Path

Find a point that minimizes a total distance. The point must lie on the "Vertices" poly line, and the range searched is the one or two segments adjacent to a specified vertex (an earlier algorithm has identified the vertex). The total distance goes from a start point to the found point and on to an end point. The start and end points, as well as the result of this VI, are passed in the "Knowns" buffer.

Shortest Vertex

Locate the vertex of a poly line that minimizes the total distance from a start point to the vertex and on to an end point.