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

interfaces. These classes represent data in Euclidean 2D and 3D space. They represent a<br />

line that passes through a collection of points. The points here are defined by Point2 or<br />

Point3 objects.<br />

The Polyline2 class is defined as:<br />

public sealed class Polyline2 : IPolyline2<br />

{<br />

public Polyline2 (IEnumerable points);<br />

public Polyline2 (IEnumerable points, bool isClosed);<br />

public bool IsClosed { get; }<br />

public static readonly Polyline2 Empty = new Polyline2 (<br />

new Point2 [0]);<br />

}<br />

public static Polyline 2 CreateByReference (IEnumerable <br />

points)<br />

public static Polyline2 CreateByReference (IEnumerable <br />

points, bool isClosed);<br />

public IEnumerator GetEnumerator();<br />

The Polyline3 class is defined as:<br />

public sealed class Polyline3 : IPolyline3<br />

{<br />

public Polyline3 (IEnumerable points);<br />

public Polyline3 (IEnumerable points, bool isClosed);<br />

public bool IsClosed { get; }<br />

public static readonly Polyline3 Empty = new Polyline3 (<br />

new Point3 [0]);<br />

}<br />

public static Polyline3 CreateByReference (IEnumerable<br />

points);<br />

public static Polyline3 CreateByReference (IEnumerable<br />

points, bool isClosed);<br />

public IEnumerator GetEnumerator ();<br />

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