Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

34aa0695 3621 d6cd 7119 96e61754ee35

haplokuon edited this page May 6, 2023 · 1 revision

AreParallel(Vector2, Vector2, Double) Method

netDxf 3.0.0 Library

Checks if two vectors are parallel.

Definition

Namespace: netDxf
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public static bool AreParallel(
	Vector2 u,
	Vector2 v,
	double threshold
)

VB

Public Shared Function AreParallel ( 
	u As Vector2,
	v As Vector2,
	threshold As Double
) As Boolean

C++

public:
static bool AreParallel(
	Vector2 u, 
	Vector2 v, 
	double threshold
)

F#

static member AreParallel : 
        u : Vector2 * 
        v : Vector2 * 
        threshold : float -> bool 

Parameters

  Vector2
Vector2.
  Vector2
Vector2.
  Double
Tolerance used.

Return Value

Boolean
True if are parallel or false in any other case.

See Also

Reference

Vector2 Structure
AreParallel Overload
netDxf Namespace

Clone this wiki locally