//UPGRADE_NOTE: ref keyword was added to struct-type parameters. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1303'" public virtual void render(NuGraphics3D g3d, ref System.Drawing.Rectangle rectClip, Frame frame, int displayModelIndex, Shape shape) { this.g3d = g3d; this.rectClip = rectClip; this.frame = frame; this.displayModelIndex = displayModelIndex; this.shape = shape; render(); }
private void InitBlock() { specialAtomIndexes = new int[JmolConstants.ATOMID_MAX]; shapes = new Shape[JmolConstants.SHAPE_MAX]; withinModelIterator = new WithinModelIterator(this); withinAnyModelIterator = new WithinAnyModelIterator(this); hbondMin2 = hbondMin * hbondMin; for (int i = MAX_BONDS_LENGTH_TO_CACHE; --i > 0; ) // .GT. 0 freeBonds[i] = new Bond[MAX_NUM_TO_CACHE][]; }