Table of Contents
Distance Perpendicular To Path
The command Distance_Perpendicular_To_Path computes the perpendicular distance from a point along a path (P in the figure below) to a straight path defined as the position at Event1 to position at Event2. In the figure below, the red line is the perpendicular distance from the point P.
Example: Unnormalized Distance for Target
The pipeline command below will calculate the distance travelled by the MID_PSIS TARGET perpendicular to its path between the events START and STOP. This distance will not be normalized.
Distance_Perpendicular_To_Path /SIGNAL_TYPES=TARGET /SIGNAL_NAMES=MID_PSIS ! /SIGNAL_FOLDER=ORIGINAL /RESULT_NAME=PSIS_DISTANCE ! /RESULT_FOLDER=PROCESSED /EVENT_NAME_START=START /EVENT_NAME_STOP=STOP /NORMALIZE_TO_DISTANCE=FALSE ;
Notes
If the NORMALIZE_TO_DISTANCE parameter is true then the resulting perpendicular distance is divided by the distance along the straight path.
See Also
Visual3D also contains commands for the Distance Parallel to Path and Distance Along Path. Or return to the Signal Commands overview.