|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectastex.Surface
public class Surface
A class for generating three dimensional surfaces.
| Field Summary | |
|---|---|
static int |
lastClip
The last atom that clipped a point. |
| Constructor Summary | |
|---|---|
Surface()
|
|
| Method Summary | |
|---|---|
static void |
clipSurface(Tmesh surface,
boolean solid)
|
static Tmesh |
connolly(DynamicArray atoms,
double gridSpacing,
boolean solid)
Create a soft object surface. |
static void |
debug(java.lang.String s)
Print a debuggin message. |
static double |
distance(double xa,
double ya,
double za,
double xb,
double yb,
double zb)
Calculate the distance between two points. |
static double |
distance2(double xa,
double ya,
double za,
double xb,
double yb,
double zb)
Calucate the sqaured distance between two points. |
static Tmesh |
dotSurface(DynamicArray selectedAtoms,
int subDivisions)
Generate a dot surface. |
static void |
fixNormals(Tmesh surface)
Make better normals for the surface. |
static void |
initialiseGrid(double minSpacing)
Find the size of the atoms that we will surface. |
static int |
obscured(double x,
double y,
double z,
int a,
int b)
Is the point within one of the atoms in the list. |
static void |
projectPoints()
Project the points inside the atoms onto the surface. |
static void |
projectTorii()
Project the points inside the atoms onto the surface. |
static void |
projectTorus(int a,
int b)
Project the points of a torus onto the grid. |
static void |
setDebug(boolean d)
Turn debugging on/off. |
static void |
setMaximumGridsize(int gs)
Set the maximum grid size. |
static void |
setMinimumSpacing(double s)
Set the minimum grid spacing. |
static void |
setProbeRadius(double radius)
Set the probe radius. |
static void |
sphereGen(int subDivisions)
Initialise the dot sphere structures. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static int lastClip
| Constructor Detail |
|---|
public Surface()
| Method Detail |
|---|
public static void debug(java.lang.String s)
public static void setDebug(boolean d)
public static void setProbeRadius(double radius)
public static void setMinimumSpacing(double s)
public static void setMaximumGridsize(int gs)
public static Tmesh connolly(DynamicArray atoms,
double gridSpacing,
boolean solid)
public static void fixNormals(Tmesh surface)
public static void clipSurface(Tmesh surface,
boolean solid)
public static void projectPoints()
public static void projectTorii()
public static void projectTorus(int a,
int b)
public static double distance(double xa,
double ya,
double za,
double xb,
double yb,
double zb)
public static double distance2(double xa,
double ya,
double za,
double xb,
double yb,
double zb)
public static int obscured(double x,
double y,
double z,
int a,
int b)
public static void initialiseGrid(double minSpacing)
public static void sphereGen(int subDivisions)
public static Tmesh dotSurface(DynamicArray selectedAtoms,
int subDivisions)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||