astex
Class Texgen

java.lang.Object
  extended by astex.Texgen

public class Texgen
extends java.lang.Object

Class for generating various sorts of texture coordinates.


Field Summary
static int Electrostatic
           
static int Lipophilicity
           
 
Constructor Summary
Texgen()
           
 
Method Summary
static void curvature(Tmesh tm, DynamicArray points, int uv, double maxd)
          Calculate pseudo curvature.
static void distance(Tmesh tm, DynamicArray points, int uv)
          Measure distance to nearest point in point list.
static void property_map(Tmesh tm, DynamicArray atoms, int uv, double maxd, boolean absolute, int func)
          Generate potential.
static void rectangular(Tmesh tm)
          Create rectangular texture coordinates.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Electrostatic

public static final int Electrostatic
See Also:
Constant Field Values

Lipophilicity

public static final int Lipophilicity
See Also:
Constant Field Values
Constructor Detail

Texgen

public Texgen()
Method Detail

distance

public static void distance(Tmesh tm,
                            DynamicArray points,
                            int uv)
Measure distance to nearest point in point list. Texture coordinates are normalised by dividing by max. This will make points further away than max invisible. If max is less than zero, then the tex coords are normalised by the longest distance measured. This has the effect that the tex coords will max at 1.0.


curvature

public static void curvature(Tmesh tm,
                             DynamicArray points,
                             int uv,
                             double maxd)
Calculate pseudo curvature.


rectangular

public static void rectangular(Tmesh tm)
Create rectangular texture coordinates.


property_map

public static void property_map(Tmesh tm,
                                DynamicArray atoms,
                                int uv,
                                double maxd,
                                boolean absolute,
                                int func)
Generate potential.