Vector2D.isPerpendicularTo Method

Parent Object: Vector2D
Defined in namespace "adsk::core" and the header file is <Core/Geometry/Vector2D.h>

Description

Compare this vector with another to check for perpendicularity.

Syntax

"vector2D_var" is a variable referencing a Vector2D object.
returnValue = vector2D_var.isPerpendicularTo(vector)
"vector2D_var" is a variable referencing a Vector2D object.

#include <Core/Geometry/Vector2D.h>

returnValue = vector2D_var->isPerpendicularTo(vector);

Return Value

Type Description
boolean Returns true if the vectors are perpendicular.

Parameters

Name Type Description
vector Vector2D The vector to compare with for perpendicularity.

Version

Introduced in version August 2014