Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

MoleculeGraphics.C File Reference

#include <stdio.h>
#include "MoleculeGraphics.h"
#include "DispCmds.h"
#include "VMDApp.h"
#include "Inform.h"
#include "JString.h"
#include "Scene.h"
#include "utilities.h"

Go to the source code of this file.

Defines

#define CHECK_RANGE(v)


Define Documentation

#define CHECK_RANGE  
 

Value:

{                          \
  if (!found_one) {        \
    found_one = 1;         \
    minx = maxx = (v)[0];  \
    miny = maxy = (v)[1];  \
    minz = maxz = (v)[2];  \
  } else {                 \
    if (minx > (v)[0]) minx = (v)[0];  if (maxx < (v)[0]) maxx = (v)[0]; \
    if (miny > (v)[1]) miny = (v)[1];  if (maxy < (v)[1]) maxy = (v)[1]; \
    if (minz > (v)[2]) minz = (v)[2];  if (maxz < (v)[2]) maxz = (v)[2]; \
  }                        \
}

Definition at line 851 of file MoleculeGraphics.C.


Generated on Thu Apr 18 02:46:06 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002