#VRML V2.0 utf8
# An inlined component of a user-defined prototype wrapper implementation.
# A heavyweight data plotting template that inlines a user created VRML Shape.  
#  This object can be used as a template to extend other future user created shapes 
#  like an indexedFaceSet.  Just inLine the Shape. 

#  A component in a 3D data plotting application 
# Kurt A. Fisher fisherka@csolutions.net  beginner level VRML coder
# 12/2003

#  Used by:  lib_UD_proto.wrl  

#  The user must manually implement object color and translucency in this inlined file. 

# ====================================
# Usage 
#     in UD_proto.wrl 

# Inline { 
#	url  "my_user_defined_object.wrl" 
#} 

# ===========================================
#  Background 

#  version x: Default White background 
# DEF DefaultBack Background {
#	skyColor 		[ 1.0 1.0 1.0,  1.0 1.0 1.0,  1.0 1.0 1.0 ]
#	skyAngle 		[ 1.0, 1.0 ]
#	groundColor 		[ 1.0 1.0 1.0,  1.0 1.0 1.0,  1.0 1.0 1.0 ]
#	groundAngle 		[ 1.0, 1.0 ]
# } # End of default background


# ====================================
# BEGIN INLINED USER-DEFINED OBJECT

# Disable for more than one shape 
#				Shape {				
#				# Set overall appearance for all PointSet coordinates - must be emissive 
#					appearance Appearance {
#						material Material { 
#   Manually set the color of the object
#							diffuseColor 1.0 1.0 1.0   #  IS objColor
#			    				emissiveColor 0.5 0.5 0.5  #  IS objColor
#							shininess 0.08
# Manually set the transparency of the object
# 							transparency 0.0

#						} # end Material 
#					} # end Appearance 


# RENDER THE USER-DEFINED SHAPE OR SHAPE(S)

# ===========================================
#  Gould's Belt as lineset per Grenier (2004) 			
#	At 354 by 232 pc ellipse  with the center at 104 pc antigalactic center at l 180 deg.		
#	Inclined at 17.2 degs to the galactic plane with the ascending node at l= 296.1 deg. 		
#       Radi are 1/2 these sizes 

# First transform orients shape in world 
Transform {
#	rotation 1.0 0.0 0.0  1.570796327
	rotation 0.0 1.0 0.0 -0.300

children [ 

Transform {
	scale 0.177,0.116, 1.0
#	translation -0.104, 0, 0.026 
#  Had to force Belt to correct galatic anticenter position for this World
	translation -0.316, 0, 0.078
#  360 deg - 296.1 = 63.9 degs or 
	rotation 0.0 0.0 1.0  1.115


children [ 


Shape {
    appearance Appearance {
        material Material {
	diffuseColor 0.0 0.0 1.0 
	transparency 0.2
        }
    }
    geometry IndexedLineSet {
# Gould's Belt 
        coord Coordinate {							
            point [							
# A zero-based circle 
#  ortho-x	ortho-y			ortho-z		Degrees object
1.0000	,	0.0000	,		0.0000	,   #	0
0.9397	,	0.3420	,		0.0000	,   #	20
0.7660	,	0.6428	,		0.0000	,   #	40
0.5000	,	0.8660	,		0.0000	,   #	60
0.1736	,	0.9848	,		0.0000	,   #	80
-0.1736	,	0.9848	,		0.0000	,   #	100
-0.5000	,	0.8660	,		0.0000	,   #	120
-0.7660	,	0.6428	,		0.0000	,   #	140
-0.9397	,	0.3420	,		0.0000	,   #	160
-1.0000	,	0.0000	,		0.0000	,   #	180
-0.9397	,	-0.3420	,		0.0000	,   #	200
-0.7660	,	-0.6428	,		0.0000	,   #	220
-0.5000	,	-0.8660	,		0.0000	,   #	240
-0.1736	,	-0.9848	,		0.0000	,   #	260
0.1736	,	-0.9848	,		0.0000	,   #	280
0.5000	,	-0.8660	,		0.0000	,   #	300
0.7660	,	-0.6428	,		0.0000	,   #	320
0.9397	,	-0.3420	,		0.0000	,   #	340
1.0000	,	0.0000	,		0.0000	,   #	360

          ]							
        }							
# Gould's Belt
        coordIndex [				
	0	,	
	1	,	
	2	,	
	3	,	
	4	,	
	5	,	
	6	,	
	7	,	
	8	,	
	9	,	
	10	,	
	11	,	
	12	,	
	13	,	
	14	,	
	15	,	
	16	,	
	17	,	
	18	,	
	        ]			
	    }			
	}			

	] # end second Transform Children Gould's Belt

} # End Transform Gould's Belt 

	] # end first Transform Children Gould's Belt

} # End Transform Gould's Belt 


# END RENDER THE MILKY WAY SHAPE