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 />

The Polyline class defines the following method:<br />

GetEnumerator - This method returns an enumerator over all the points in the polyline.<br />

IEnumerator en = poly1.GetEnumerator();<br />

while (en.MoveNext())<br />

{<br />

//do processing<br />

}<br />

Ray2 and Ray3 Classes<br />

The Slb.<strong>Ocean</strong>.Geometry namespace defines two sealed classes called Ray2 and<br />

Ray3. These classes represent a half-infinite line with one of two points A and B taken to<br />

be at infinity, and the other point defining the origin of the ray, having a direction towards<br />

B. The points defining the ray are defined by Point2 or Point3 objects.<br />

4-184 <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!