collapse_all

expand_all

collapse_allexpand_alldropdowndropdownHovercopycodecopycodeHighlight

collapse_all Collapse AllExpand All     dropdown Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++

[TCheckBoxFormControlObj]C#

[TCheckBoxFormControlObj]Visual Basic

[TCheckBoxFormControlObj]
Visual C++
DPSF API Documentation
DPSFHelper
.
.
::
..VectorsAreTheSamePolarity Method
gradient

Returns if the polarity (i.e. positive or negative) of each X,Y,Z component of the two vectors are the same or not.

Example: if Vector 1's X component is positive and Vector 2's X component is negative, this will return false.

Example: if Vector 1's X,Y,Z components are all positive, and Vector 2's X,Y,Z components are all positive, this will return true.

Namespace: DPSF

Assembly: DPSF (in DPSF.dll) Version: 2.5.0.0

collapse_allSyntax

C#

public static bool VectorsAreTheSamePolarity(

 Vector3 sVector1,

 Vector3 sVector2

)

Visual Basic

Public Shared Function VectorsAreTheSamePolarity (

 sVector1 As Vector3,

 sVector2 As Vector3

As Boolean

Visual C++

public:

static bool VectorsAreTheSamePolarity(

 Vector3 sVector1,

 Vector3 sVector2

)

Parameters

sVector1

Type: Vector3

The first Vector.

sVector2

Type: Vector3

The second Vector.

Return Value

Type: Boolean

collapse_allSee Also

DPSFHelper Class

DPSFHelper Members

DPSF Namespace

footer

Send comments on this topic to
Dan@DansKingdom.com