Collapse AllExpand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++
|
[TCheckBoxFormControlObj]C#
[TCheckBoxFormControlObj]Visual Basic
[TCheckBoxFormControlObj]
|
..VectorsAreEqualWithinTolerance Method
|
|
Returns true if the difference between the individual XYZ components of the given Vectors are all less than the specified Tolerance
Namespace: DPSF
Assembly: DPSF (in DPSF.dll) Version: 2.5.0.0
Syntax
C#
|
public static bool VectorsAreEqualWithinTolerance(
Vector3 sVector1,
Vector3 sVector2,
float fTolerance
)
|
Visual Basic
|
Public Shared Function VectorsAreEqualWithinTolerance (
sVector1 As Vector3,
sVector2 As Vector3,
fTolerance As Single
) As Boolean
|
Visual C++
|
public:
static bool VectorsAreEqualWithinTolerance(
Vector3 sVector1,
Vector3 sVector2,
float fTolerance
)
|
Parameters
sVector1
Type: Vector3
The first Vector
sVector2
Type: Vector3
The second Vector
fTolerance
Type: System..::..Single
How much of a difference there may be between the individual XYZ components for them to be considered equal
Return Value
Type: Boolean
Returns true if the difference between the individual XYZ components of the given Vectors are each less than the specified Tolerance
See Also
DPSFHelper Class
DPSFHelper Members
DPSF Namespace
![footer](footer.gif)
Send comments on this topic to
Dan@DansKingdom.com
|