public class DifMeshBuilder extends java.lang.Object implements MeshBuilder
Modifier and Type | Field and Description |
---|---|
(package private) DifMesh |
dmesh |
(package private) int |
npoint |
(package private) java.util.HashMap<java.lang.Object,DifMeshPoint> |
peerHM |
(package private) MeshPoint[] |
points |
Constructor and Description |
---|
DifMeshBuilder() |
Modifier and Type | Method and Description |
---|---|
void |
addPoint(DifMeshPoint pt) |
void |
connectToPeer(java.lang.Object mp1,
java.lang.Object o2) |
Mesh |
getMesh() |
private DifMeshPoint |
getPoint(java.lang.Object obj) |
java.lang.Object |
newPoint(double x,
double y,
double z,
double r,
int idx,
java.lang.Object peer) |
void |
startMesh() |
void |
trimPointArray() |
DifMesh dmesh
int npoint
MeshPoint[] points
java.util.HashMap<java.lang.Object,DifMeshPoint> peerHM
public void startMesh()
startMesh
in interface MeshBuilder
public java.lang.Object newPoint(double x, double y, double z, double r, int idx, java.lang.Object peer)
newPoint
in interface MeshBuilder
public void addPoint(DifMeshPoint pt)
private DifMeshPoint getPoint(java.lang.Object obj)
public void connectToPeer(java.lang.Object mp1, java.lang.Object o2)
connectToPeer
in interface MeshBuilder
public Mesh getMesh()
getMesh
in interface MeshBuilder
public void trimPointArray()
Copyright © 2013. All Rights Reserved.