OpenMetaverse Protocol Library Developers API Documentation
Vector3d Structure
NamespacesOpenMetaverseVector3d
A three-dimensional vector with doubleing-point values
Declaration Syntax
C#
[
SerializableAttribute]
public 
struct 
Vector3d : 
IComparable<
Vector3d>, 
        
IEquatable<
Vector3d>
Members
All Members Constructors Methods Fields



Icon Member Description
Vector3d(Double, Double, Double)
Initializes a new instance of the Vector3dclass

Vector3d(Double)
Initializes a new instance of the Vector3dclass

Vector3d( array< Byte > [] () [] [] , Int32)
Constructor, builds a vector from a byte array

Vector3d(Vector3)
Initializes a new instance of the Vector3dclass

Vector3d(Vector3d)
Initializes a new instance of the Vector3dclass

Add(Vector3d, Vector3d)
Addition(Vector3d, Vector3d)
ApproxEquals(Vector3d, Double)
Test if this vector is equal to another vector, within a given tolerance range

Clamp(Vector3d, Vector3d, Vector3d)
CompareTo(Vector3d)
IComparable.CompareTo implementation

Cross(Vector3d, Vector3d)
Distance(Vector3d, Vector3d)
DistanceSquared(Vector3d, Vector3d)
Divide(Vector3d, Vector3d)
Divide(Vector3d, Double)
Division(Vector3d, Vector3d)
Division(Vector3d, Double)
Dot(Vector3d, Vector3d)
Equality(Vector3d, Vector3d)
Equals(Object) (Overrides ValueType. Equals(Object).)
Equals(Vector3d)
FromBytes( array< Byte > [] () [] [] , Int32)
Builds a vector from a byte array

GetBytes () () () ()
Returns the raw bytes for this vector

GetHashCode () () () () (Overrides ValueType. GetHashCode () () () () .)
Implicit Widening Implicit Implicit Implicit (Vector3 to Vector3d)
Implicit casting for Vector3 > Vector3d

Inequality(Vector3d, Vector3d)
IsFinite () () () ()
Test if this vector is composed of all finite numbers

Length () () () ()
LengthSquared () () () ()
Lerp(Vector3d, Vector3d, Double)
Max(Vector3d, Vector3d)
Min(Vector3d, Vector3d)
Modulus(Vector3d, Vector3d)
Cross product between two vectors

Multiply(Vector3d, Vector3d)
Multiply(Vector3d, Double)
Multiply(Vector3d, Vector3d)
Multiply(Vector3d, Double)
Negate(Vector3d)
Normalize () () () ()
Normalize(Vector3d)
One
A vector with a value of 1,1,1

Parse(String)
Parse a vector from a string

SmoothStep(Vector3d, Vector3d, Double)
Interpolates between two vectors using a cubic equation

Subtract(Vector3d, Vector3d)
Subtraction(Vector3d, Vector3d)
ToBytes( array< Byte > [] () [] [] , Int32)
Writes the raw bytes for this vector to a byte array

ToRawString () () () ()
Get a string representation of the vector elements with up to three decimal digits and separated by spaces only

ToString () () () ()
Get a formatted string representation of the vector
(Overrides ValueType. ToString () () () () .)
TryParse(String, Vector3d % )
UnaryNegation(Vector3d)
UnitX
A unit vector facing forward (X axis), value of 1,0,0

UnitY
A unit vector facing left (Y axis), value of 0,1,0

UnitZ
A unit vector facing up (Z axis), value of 0,0,1

X
X value

Y
Y value

Z
Z value

Zero
A vector with a value of 0,0,0

Assembly: OpenMetaverseTypes(Module: OpenMetaverseTypes.dll) Version: 0.0.0.0