There is often a need to define a vector direction when using irregular surfaces. Examples of use include such applications as calculating:
•panel trim edge vectors,
•clearance direction vectors between two components of irregular variation/shape.
This module provides the routines related with direction manipulation. The purpose of this routine is to apply a calculated vector direction to a set of points. The calculated direction is the vector cross-product of two input directions.
|
Within this Section:
Cross Product (dcsCrossProduct) - now found under the Cross Product move.
Move Set Direction (dcsMvSetDirection)
Double Cross Product (ABA) (dcsMvDirProj2Plane)
Dot Product (dcsMsDotProduct)
|
1.
Move Set Direction (dcsMvSetDirection)
Description: This routine is to apply a specified direction on all object features.
Inputs
Object Features: feature directions to be modified
Target Features: if Associated Directions are used
Direction: at least one direction is required
Output
Object Feature Directions are modified based on the specified directions. Multiple directions are supported.
|
2.
Double Cross Product (ABA) (dcsMvDirProj2Plane)
Description: This routine is to project a skewed direction to a plane by double-cross-product (DIR = DIR1xDIR2xDIR1).
Inputs:
Object Features: feature directions to be modified
Target Features: used when Associated Directions are used
Direction: at least two direction are required
Output
Object Feature Directions are modified based on the calculated direction (DIR = DIR1xDIR2xDIR1). Multiple paired directions (each pair of directions for one object feature) are supported.
|
3.
Dot Product (dcsMsDotProduct)
Description: This measure routine is to calculate the dot product from two directions (DotProd = DIR1*DIR2). Dot Product in 3DCS is equivalent to the cosine of the smallest angle between them.
Inputs:
Object Features (Group 1): Two features are only necessary if either of the directions being used is an Associated type
Target Features (Group 2): Not required, ignored
Direction: Two Directions are required
Output:
Calculates the dot product from two directions. (DotProd = DIR1*DIR2).
|