Vector2D.isParallelTo 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 parallelism.

Syntax

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

#include <Core/Geometry/Vector2D.h>

returnValue = vector2D_var->isParallelTo(vector);

Return Value

Type Description
boolean Returns true if the vectors are parallel.

Parameters

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

Version

Introduced in version August 2014