internal GeometryHit( ShapeHit Hit, SimpleGeometryHit SimpleHit ) { Debug.Assert( Hit != null ); Debug.Assert( SimpleHit != null ); this.Hit = Hit; this.SimpleHit = SimpleHit; }
internal GeometryHitCollection( ShapeHitCollection ShapeHits, SimpleGeometryHit SimpleHit ) { this.ShapeHits = ShapeHits; this.SimpleHit = SimpleHit; this.Count = ( SimpleHit == null ) ? 0 : ShapeHits.Count - ShapeHits.Base; }