Click or drag to resize

Vector Interface

Represents a three-dimensional vector in the woodwork automation system. A vector defines direction and magnitude in 3D space with X, Y, and Z components. Vectors are used throughout the system for defining orientations, directions, and displacements in manufacturing operations, tool paths, and geometric transformations essential to woodwork CNC machining.

Namespace: Woodwork.Automation.Common
Assembly: WoodworkAutomation (in WoodworkAutomation.dll) Version: 10.1.0+426df26b1ad7b7c97e1fbd6e0980a0fe847fc820
Syntax
public interface Vector

The Vector type exposes the following members.

Properties
 NameDescription
Public propertyX Gets and sets the X component value.
Public propertyY Gets and sets the Y component value.
Public propertyZ Gets and sets the Z component value.
Top
Methods
 NameDescription
Public methodAngleTo Calculates the angle between this vector and the specified vector.
Public methodAsUnitVector Creates a normalized unit vector from this vector (length equal to 1.0).
Public methodCopy Creates an independent copy of this vector. The returned vector is entirely independent and can be edited without affecting this instance.
Public methodCrossProduct Calculates the cross product between this vector and the specified vector.
Public methodDotProduct Calculates the dot product between this vector and the specified vector.
Public methodIsEqualTo Compares this vector for equality with the specified vector and tolerance.
Public methodIsParallelTo Determines whether this vector is parallel to the specified vector.
Public methodIsPerpendicularTo Determines whether this vector is perpendicular to the specified vector.
Public methodIsSameDirection Determines whether this vector points in the same direction as the specified vector.
Public methodNormalize Normalizes this vector to a length equal to 1.0.
Public methodRotationAroundZAxis Rotates this vector by the specified angle around the Z axis.
Public methodScaleBy Scales this vector by the specified scale factor.
Public methodToReferenceCoordinateSystem Transforms this vector to the reference coordinate system.
Public methodTransformBy Transforms this vector by the specified transformation matrix.
Public methodTranslateBy Translates this vector by the specified vector.
Top
See Also