Click or drag to resize

Vector3 Structure

Represent a three component vector of double precision.

Namespace:  DXFReaderNET
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax
public struct Vector3 : IEquatable<Vector3>

The Vector3 type exposes the following members.

Constructors
  NameDescription
Public methodVector3(Double)
Initializes a new instance of Vector3.
Public methodVector3(Double)
Initializes a new instance of Vector3.
Public methodVector3(Double, Double, Double)
Initializes a new instance of Vector3.
Top
Properties
  NameDescription
Public propertyItem
Gets or sets a vector element defined by its index.
Public propertyStatic memberNaN
Represents a vector with not a number components.
Public propertyStatic memberUnit
Unit vector.
Public propertyStatic memberUnitX
Unit X vector.
Public propertyStatic memberUnitY
Unit Y vector.
Public propertyStatic memberUnitZ
Unit Z vector.
Public propertyX
Gets or sets the X component.
Public propertyY
Gets or sets the Y component.
Public propertyZ
Gets or sets the Z component.
Public propertyStatic memberZero
Zero vector.
Top
Methods
  NameDescription
Public methodStatic memberAdd
Adds two vectors.
Public methodStatic memberAngleBetween
Obtains the angle between two vectors.
Public methodStatic memberAreParallel(Vector3, Vector3)
Checks if two vectors are parallel.
Public methodStatic memberAreParallel(Vector3, Vector3, Double)
Checks if two vectors are parallel.
Public methodStatic memberArePerpendicular(Vector3, Vector3)
Checks if two vectors are perpendicular.
Public methodStatic memberArePerpendicular(Vector3, Vector3, Double)
Checks if two vectors are perpendicular.
Public methodStatic memberCrossProduct
Obtains the cross product of two vectors.
Public methodStatic memberDistance
Obtains the distance between two points.
Public methodStatic memberDivide
Divides a vector with an scalar.
Public methodStatic memberDotProduct
Obtains the dot product of two vectors.
Public methodEquals(Object)
Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Vector3)
Check if the components of two vectors are approximate equal.
Public methodStatic memberEquals(Vector3, Vector3)
Check if the components of two vectors are approximate equal.
Public methodEquals(Vector3, Double)
Check if the components of two vectors are approximate equal.
Public methodStatic memberEquals(Vector3, Vector3, Double)
Check if the components of two vectors are approximate equal.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodStatic memberIsNaN
Returns a value indicating if any component of the specified vector evaluates to a value that is not a number NaN.
Public methodStatic memberMidPoint
Obtains the midpoint.
Public methodModulus
Obtains the modulus of the vector.
Public methodStatic memberMultiply(Double, Vector3)
Multiplies an scalar with a vector (same as u*a, commutative property).
Public methodStatic memberMultiply(Vector3, Double)
Multiplies a vector with an scalar (same as a*u, commutative property).
Public methodStatic memberNegate
Negates a vector.
Public methodNormalize
Normalizes the current vector.
Public methodStatic memberNormalize(Vector3)
Normalizes the vector.
Public methodStatic memberRound
Rounds the components of a vector.
Public methodStatic memberSquareDistance
Obtains the square distance between two points.
Public methodStatic memberSubtract
Subtracts two vectors.
Public methodToArray
Returns an array that represents the vector.
Public methodToFormattedUnit
Obtains a string that represents the vector formatted according to linear units format.
Public methodToPointF
Obtains the PointF conversion of Vector3.
Public methodToString
Obtains a string that represents the vector.
(Overrides ValueTypeToString.)
Public methodToString(IFormatProvider)
Obtains a string that represents the vector.
Public methodToVector2
Return the 2d vector.
Top
Operators
  NameDescription
Public operatorStatic memberAddition
Adds two vectors.
Public operatorStatic memberDivision
Divides a vector with an scalar.
Public operatorStatic memberEquality
Check if the components of two vectors are equal.
Public operatorStatic memberInequality
Check if the components of two vectors are different.
Public operatorStatic memberMultiply(Double, Vector3)
Multiplies an scalar with a vector (same as u*a, commutative property).
Public operatorStatic memberMultiply(Vector3, Double)
Multiplies a vector with an scalar (same as a*u, commutative property).
Public operatorStatic memberSubtraction
Subtracts two vectors.
Public operatorStatic memberUnaryNegation
Negates a vector.
Top
See Also