Esempio n. 1
0
            internal GeometryHit( ShapeHit Hit, SimpleGeometryHit SimpleHit )
            {
                Debug.Assert( Hit != null );
                Debug.Assert( SimpleHit != null );

                this.Hit = Hit;
                this.SimpleHit = SimpleHit;
            }
Esempio n. 2
0
 internal GeometryHitCollection( ShapeHitCollection ShapeHits, SimpleGeometryHit SimpleHit )
 {
     this.ShapeHits = ShapeHits;
     this.SimpleHit = SimpleHit;
     this.Count = ( SimpleHit == null ) ? 0 : ShapeHits.Count - ShapeHits.Base;
 }