02.05.2014 Views

Ocean* Application Development Framework - Ocean - Schlumberger

Ocean* Application Development Framework - Ocean - Schlumberger

Ocean* Application Development Framework - Ocean - Schlumberger

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Geometry<br />

The definition of the Vector3 class is:<br />

public sealed class Vector3<br />

{<br />

public Vector3 (double x, double y, double z);<br />

public Vector3 (Vector3 input) ;<br />

public double Norm { ; }<br />

public double X { ; }<br />

public double Y { ; }<br />

public double Z { ; }<br />

public static readonly Vector3 MaxValue = new Vector3(Xy.MaxValue);<br />

public static readonly Vector3 MinValue = new Vector3(Xy.MinValue);<br />

public static readonly Vector3 Null = new Vector3 (Xy.Null);<br />

public static readonly Vector3 Zero = new Vector3 (Xy.Zero);<br />

public static double Dot (Vector3 lhs, Vector3 rhs);<br />

public override bool Equals (object other);<br />

public override int GetHashCode ();<br />

public static Vector3 GetNormalized (Vector3 v);<br />

public static bool IsNull (Vector3 obj);<br />

public override string ToString ();<br />

public static Vector3 operator – (Vector3 arg);<br />

public static Vector3 operator – (Vector3 lhs, Vector3 rhs);<br />

public static bool operator != (Vector3 lhs, Vector3 rhs);<br />

public static Vector3 operator * (Vector3 lhs, double rhs);<br />

public static Vector3 operator * (double lhs, Vector3 rhs);<br />

public static Vector3 operator / (Vector3 lhs, double rhs);<br />

public static Vector3 operator + (Vector3 arg);<br />

public static Vector3 operator + (Vector3 lhs, Vector3 rhs);<br />

public static bool operator == (Vector3 lhs, Vector3 rhs);<br />

public static implicit [ ] operator double (Vector3 arg);<br />

public static explicit operator Vector3 (double[ ] arg);<br />

}<br />

The Vector2 and Vector3 classes provide the same constructors, properties, and<br />

methods. They vary only in the dimensions available. The Vector2 class is two<br />

dimensional and has only X and Y components. The Vector3 class is threedimensional<br />

and therefore has a Z component in addition to X and Y components.<br />

The following sections detail the constructors, properties, and methods available.<br />

<strong>Schlumberger</strong> Private - Customer Use<br />

<strong>Ocean</strong> Services 4-117

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!