Note that there are some explanatory texts on larger screens.

plurals
  1. POComputation of fault interpretation and polyline intersections
    primarykey
    data
    text
    <p>I am planning to make functionality that can test if a borehole is crossing a fault. My first idea was to make a workstep component that takes a Borehole and a Fault Interpretation as input and returns the number of intersections. I have already made a workstep that checks if a fault interpretation is intersecting a surface. The core of this function is the following:</p> <pre><code>ICoordinateReferenceSystem inputCRS = PetrelProject.PrimaryProject.CoordinateReferenceSystem; SpatialUnitsPolicy unitsPolicy = SpatialUnitsPolicy.AllDataInSI; SpatialContext spatialCtx = new SpatialContext(inputCRS, unitsPolicy); ISurfaceIntersectionService sis = CoreSystem.GetService&lt;ISurfaceIntersectionService&gt;(arguments.Surface); foreach (FaultInterpretationPolyline p in arguments.Fault.GetPolylines()) { IEnumerable&lt;PolylineSurfaceIntersection&gt; intersections = sis.GetSurfacePolyLineIntersection(arguments.Surface, p.Polyline); foreach (PolylineSurfaceIntersection intersection in intersections) { arguments.NumberOfIntersections++; } } </code></pre> <p>The above works fine and I was thinking I could make something along the same lines to compute the intersection between a polyline (well trajectory) and a surface generated from the collection of polylines representing the fault interpretation. The key question is, is there a way to get/generate a surface from a collection of polylines? The fault interpretation can be displayed as a surface (triangulated), is this surface accessible from the api? The surface returned from the api must be such that it can be used as an argument to ISurfaceIntersectionService. If this is not possible through the Ocean api, is there a way that the user could prepare the fault interpretation up front making surfaces from the fault interpretations? Or maybe there is a complete different approach to solve the above in an efficient way?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload