02.05.2014 Views

CoreandServices.book - Ocean - Schlumberger

CoreandServices.book - Ocean - Schlumberger

CoreandServices.book - Ocean - Schlumberger

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Geometry<br />

Plane3 Class<br />

The Slb.<strong>Ocean</strong>.Geometry namespace defines a sealed Plane3 class. This class<br />

represents a plane of the form ax + by + cz + d = 0. The points defining the plane are<br />

defined by Point3 object and its direction by a Direction3 object.<br />

The Plane3 class is defined as:<br />

public sealed class Plane3<br />

{<br />

public Plane3 (Plane3 input);<br />

public Plane3 (Point3 point, Direction3 normal);<br />

public Plane3 (Point3 pontA, Point3 pointB, Point3 pointC) ;<br />

public Point3 DefiningPoint { get; }<br />

public bool IsDegenerate { get; }<br />

public Direction3 Normal { get; }<br />

public static readonly Plane3 Null = new Plane3 (Point3.Null,<br />

Direction3.Null);<br />

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

public override int GetHashCode ();<br />

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

public override string ToString ();<br />

}<br />

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

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

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

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

The following section details the constructors, properties, and methods available for the<br />

Plane3 class.<br />

There are several constructors for Plane3 object.<br />

Use the copy constructor to create a copy of an existing plane:<br />

Plane3 P3 = new Plane3(Plane3);<br />

4-178 <strong>Ocean</strong> Application Development Framework 2008.1<br />

<strong>Schlumberger</strong> Private

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

Saved successfully!

Ooh no, something went wrong!