ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.5.2 Assembly / C1.Util.DX Namespace / Vector4 Structure
Fields Properties Methods


In This Topic
    Vector4 Structure Members
    In This Topic

    The following tables list the members exposed by Vector4.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Fields
     NameDescription
    Public Fieldstatic (Shared in Visual Basic)A Vector4 with all of its components set to one.  
    Public FieldThe size of the Vector4 type, in bytes.  
    Public Fieldstatic (Shared in Visual Basic)The W unit Vector4 (0, 0, 0, 1).  
    Public Fieldstatic (Shared in Visual Basic)The X unit Vector4 (1, 0, 0, 0).  
    Public Fieldstatic (Shared in Visual Basic)The Y unit Vector4 (0, 1, 0, 0).  
    Public Fieldstatic (Shared in Visual Basic)The Z unit Vector4 (0, 0, 1, 0).  
    Public FieldThe W component of the vector.  
    Public FieldThe X component of the vector.  
    Public FieldThe Y component of the vector.  
    Public FieldThe Z component of the vector.  
    Public Fieldstatic (Shared in Visual Basic)A Vector4 with all of its components set to zero.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets a value indicting whether this instance is normalized.  
    Public PropertyGets or sets the component at the specified index.  
    Public PropertyGets the length of the vector.  
    Public PropertyGets the squared length of the vector.  
    Top
    Public Methods
     NameDescription
    Public Methodstatic (Shared in Visual Basic)Returns a vector whose elements are the absolute values of each of the specified vector's elements.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Calculates the absolute value vector.  
    Public Methodstatic (Shared in Visual Basic)Adds two vectors.  
    Public Methodstatic (Shared in Visual Basic)Adds two vectors.  
    Public Methodstatic (Shared in Visual Basic)Restricts a vector between a minimum and a maximum value.  
    Public Methodstatic (Shared in Visual Basic)Restricts a vector between a minimum and a maximum value.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Divides the specified vector by a specified scalar value.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Divides the specified vector by a specified scalar value.  
    Public Methodstatic (Shared in Visual Basic)Calculates the dot product of two vectors.  
    Public Methodstatic (Shared in Visual Basic)Calculates the dot product of two vectors.  
    Public MethodOverloaded. Determines whether the specified Vector4 is equal to this instance.  
    Public MethodDetermines whether the specified Vector4 is equal to this instance.  
    Public MethodReturns a hash code for this instance.  
    Public Methodstatic (Shared in Visual Basic)Performs a linear interpolation between two vectors based on the given weighting.  
    Public Methodstatic (Shared in Visual Basic)Performs a linear interpolation between two vectors based on the given weighting.  
    Public Methodstatic (Shared in Visual Basic)Returns a vector containing the largest components of the specified vectors.  
    Public Methodstatic (Shared in Visual Basic)Returns a vector containing the largest components of the specified vectors.  
    Public Methodstatic (Shared in Visual Basic)Returns a vector containing the smallest components of the specified vectors.  
    Public Methodstatic (Shared in Visual Basic)Returns a vector containing the smallest components of the specified vectors.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Scales a vector by the given value.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Scales a vector by the given value.  
    Public Methodstatic (Shared in Visual Basic)Reverses the direction of a given vector.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Reverses the direction of the vector.  
    Public Methodstatic (Shared in Visual Basic)Converts the vector into a unit vector.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Converts the vector into a unit vector.  
    Public Methodstatic (Shared in Visual Basic)Subtracts two vectors.  
    Public Methodstatic (Shared in Visual Basic)Subtracts two vectors.  
    Public MethodCreates an array containing the elements of the vector.  
    Public MethodOverloaded. Returns a System.String that represents this instance.  
    Top
    Public Operators
    Adds two vectors.
    Overloaded. Divides the specified vector by a specified scalar value.
    Tests for equality between two objects.
    Overloaded. Performs an explicit conversion from Vector4 to Vector2.
    Tests for inequality between two objects.
    Overloaded. Scales a vector by the given value.
    Subtracts two vectors.
    Reverses the direction of a given vector.
    Top
    See Also