Share

Vector3d.IsPerpendicularTo(Vector3d, Tolerance) Method

Description

Checks if this vector is perpendicular to the vector vector. Namely, it checks if after normalization the dot product of this vector with the normalization of the vector vector is less than tolerance.equalVector() in absolute value.

Returns true if this condition is met and false otherwise.

Visual Basic

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

C#

public bool IsPerpendicularTo(
    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?