ILNumerics Ultimate VS

Vector3 Structure

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
single precision 3D point structure

[ILNumerics Visualization Engine]

Namespace:  ILNumerics.Drawing
Assembly:  ILNumerics.Drawing (in ILNumerics.Drawing.dll) Version: ILNumerics Ultimate VS 4
Syntax

[SerializableAttribute]
public struct Vector3 : IEquatable<Vector3>

The Vector3 type exposes the following members.

Constructors

  NameDescription
Public methodVector3(Double, Double, Double)
create explicitly

[ILNumerics Visualization Engine]

Public methodVector3(Single, Single, Single)
create vector explicitly

[ILNumerics Visualization Engine]

Top
Properties

  NameDescription
Public propertyItem
Access to coords by index

[ILNumerics Visualization Engine]

Public propertyLength
Gets the length (magnitude) of the vector.

[ILNumerics Visualization Engine]

Public propertyLengthFast
Gets an approximation of the vector length (magnitude).

[ILNumerics Visualization Engine]

Public propertyLengthSquared
Gets the square of the vector length (magnitude).

[ILNumerics Visualization Engine]

Public propertyStatic memberMaxValue
Public propertyStatic memberMinValue
Public propertyX
X coordinate

[ILNumerics Visualization Engine]

Public propertyY
Y coordinate

[ILNumerics Visualization Engine]

Public propertyZ
Z coordinate

[ILNumerics Visualization Engine]

Top
Methods

  NameDescription
Public methodStatic memberCross
cross product

[ILNumerics Visualization Engine]

Public methodStatic memberCrossN
normalized cross product

[ILNumerics Visualization Engine]

Public methodStatic memberDot
Calculate the dot (scalar) product of two vectors

[ILNumerics Visualization Engine]

Public methodEquals(Object)
Compares obj's coordinate values to those of this class instance

[ILNumerics Visualization Engine]

(Overrides ValueTypeEquals(Object).)
Public methodEquals(Vector3)
Public methodGetHashCode
get a hash code for this Vector3 object

[ILNumerics Visualization Engine]

(Overrides ValueTypeGetHashCode.)
Public methodStatic memberInverseSqrtFast
Returns an approximation of the inverse square root of left number.

[ILNumerics Visualization Engine]

Public methodIsEmtpy
Public methodStatic memberMax(Vector3, Vector3)
Public methodStatic memberMax(Vector3, Vector3, Boolean)
Public methodStatic memberMin(Vector3, Vector3)
Public methodStatic memberMin(Vector3, Vector3, Boolean)
Public methodNormalize
Scales the Vector3 to unit length.

[ILNumerics Visualization Engine]

Public methodStatic memberNormalize(Vector3)
Public methodStatic memberNormalize(Single, Single, Single)
Public methodNormalizeFast
Scales the Vector3 to approximately unit length.

[ILNumerics Visualization Engine]

Public methodStatic memberPow
elementwise power for vector elements

[ILNumerics Visualization Engine]

Public methodStatic memberRound
Public methodSpin
rotate the vector, keep length

[ILNumerics Visualization Engine]

Public methodToPolar
Public methodToString
convert this point to string representation

[ILNumerics Visualization Engine]

(Overrides ValueTypeToString.)
Public methodToXMLAttrString
Convert this vector into a short string representation, suitable for xml attribute serialization

[ILNumerics Visualization Engine]

Top
Operators

  NameDescription
Public operatorStatic memberAddition(Vector3, Vector3)
Public operatorStatic memberAddition(Vector3, Single)
Public operatorStatic memberDivision
Public operatorStatic memberEquality
Public operatorStatic memberInequality
Public operatorStatic memberMultiply(Single, Vector3)
Multiplies an instance by a scalar.

[ILNumerics Visualization Engine]

Public operatorStatic memberMultiply(Matrix4, Vector3)
Vector transformation and perspective divide

[ILNumerics Visualization Engine]

Public operatorStatic memberMultiply(Vector3, Matrix4)
Vector transformation (left side)

[ILNumerics Visualization Engine]

Public operatorStatic memberMultiply(Vector3, Vector3)
Public operatorStatic memberMultiply(Vector3, Single)
Public operatorStatic memberSubtraction(Vector3, Vector3)
Public operatorStatic memberSubtraction(Vector3, Single)
Public operatorStatic memberUnaryNegation
Top
Fields

  NameDescription
Public fieldStatic memberEmpty
Public fieldStatic memberUnitX
Public fieldStatic memberUnitY
Public fieldStatic memberUnitZ
Top
Extension Methods

  NameDescription
Public Extension MethodToPointF (Defined by ExtensionMethods.)
Top
Remarks

[ILNumerics Visualization Engine]

See Also

Reference