xm_wire - Well format for the Geotouch program


xm_wire - Input File Format


This is the format for wireframe structures in Geotouch. Wire frame structures are 3D objects made up of polygonal faces. The faces must be planar, but they can contain more than 3 points each. A wire from object is a set of these planar features. Defined in this fashion, they do not have to share sides: an object may consist of numerous polygons distributed in space. This format is redundant, but it allows for objects like torn faults (not-connected) and other nice geological goodies.
The format comprises a list of faces: each face may have any number (>3) nodes, and each face has its own color.
Format for wire-frame objects: You can have up to 10 files. Each file can have unlimited number of polygons. Each file starts with an alpha-numeric 50 character name followed by the number of polygons included in file. Each polygon starts with the integer number of vertices (must be > 3) and an integer color index (associated to the color map described in manual) Following this are the 3-vector index loci: Lat Lon Depth (Lon is always positive east, depth is always positive down)
Polygons must be planar: weird results will result if this convention is not followed. The polygons do not have to touch or be contiguous. This means there is some redundancy (duplicate vertices) but provides extra flexibility. For example, you can have a torn fault described by two rec- tangular, non-touching, planes.
The following example file includes a a west dipping rec- tangular fault surface (white) and a south-west dipping tri- angular fault (red). Input Example (Joshua-Tree/Landers region):

name number_of faces
Number_of vertices Color
lat lon depth


JT-Land 2
4 1
34.237736 -116.475243 1.0
34.050205 -116.475243 1.0
34.050205 -116.585548 12.0
34.237736 -116.586678 12.0
3 2
34.380188 -116.839554 0.0
34.271999 -116.668556 0.0
34.201675 -116.890617 10.0