visual3d:documentation:pipeline:signal_commands:distance_parallel_to_path
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:pipeline:signal_commands:distance_parallel_to_path [2024/07/17 15:11] – sgranger | visual3d:documentation:pipeline:signal_commands:distance_parallel_to_path [2024/11/05 16:16] (current) – Cleaned up and working towards Pipeline Command template. wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Distance_Parallel_To_Path ====== | + | ===== Distance Parallel To Path ===== |
- | || | + | The command Distance_Parallel_To_Path computes the dot product of a vector from the start to point p, with the straight line path defined as the position |
- | + | ||
- | The command Distance_Parallel_To_Path computes the dot product of a vector from the start to point p, with the straight line path defined as the Position | + | |
{{: | {{: | ||
- | In the above figure, the blue line is the parallel distance from the point P. For example: | + | ==== Example: Unnormalized Distance for Target ==== |
- | + | ||
- | \\ | + | |
- | **Distance_Parallel_To_Path** | + | |
- | + | ||
- | **/ | + | |
- | + | ||
- | **/ | + | |
- | + | ||
- | **! / | + | |
- | + | ||
- | **/ | + | |
- | + | ||
- | **! / | + | |
- | + | ||
- | **/ | + | |
- | + | ||
- | **/ | + | |
- | **/ | + | The pipeline command below will calculate the distance travelled by the MID_PSIS [[visual3d: |
- | **;** | + | < |
+ | Distance_Parallel_To_Path | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
- | \\ | + | ==== Notes ==== |
- | Normalize to distance results in dividing the resulting parallel distance to the distance along the straight path. | + | |
+ | If the NORMALIZE_TO_DISTANCE parameter is true then the resulting parallel distance is divided by the distance along the straight path. | ||
+ | ==== See Also === | ||
+ | Visual3D also contains commands for the [[visual3d: |
visual3d/documentation/pipeline/signal_commands/distance_parallel_to_path.1721229089.txt.gz · Last modified: 2024/07/17 15:11 by sgranger