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

2cb1a68b 11f0 7fca 3699 ac0b7dcef550

haplokuon edited this page May 6, 2023 · 1 revision

ArePerpendicular(Vector2, Vector2, Double) Method

netDxf 3.0.0 Library

Checks if two vectors are perpendicular.

Definition

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

C#

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

VB

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

C++

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

F#

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

Parameters

  Vector2
Vector2.
  Vector2
Vector2.
  Double
Tolerance used.

Return Value

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

See Also

Reference

Vector2 Structure
ArePerpendicular Overload
netDxf Namespace

Clone this wiki locally