Share

Vector3d.IsCodirectionalTo(Vector3d, Tolerance) Method

Description

This function checks if this vector is codirectional to the vector. Namely, it checks if after normalization this vector is within the distance tolerance.equalVector() from the normalization of the vector.

Returns true if this condition is met and false otherwise.

Visual Basic

Public Function IsCodirectionalTo(
    vector As Vector3d, 
    tolerance As Tolerance
) As bool

C#

public bool IsCodirectionalTo(
    Vector3d vector, 
    Tolerance tolerance
);

Parameters

Parameters Description
Vector3d vector Input any 3D vector
Tolerance tolerance Input tolerance value

Links

Vector3d Structure, Autodesk.AutoCAD.Geometry Namespace

Was this information helpful?