numericalMethods.geometry.meshGeneration.ruppert
Class Ruppert

java.lang.Object
  |
  +--numericalMethods.geometry.meshGeneration.ruppert.Delaunay
        |
        +--numericalMethods.geometry.meshGeneration.ruppert.Ruppert
All Implemented Interfaces:
java.io.Serializable

public class Ruppert
extends Delaunay

See Also:
Serialized Form

Field Summary
(package private)  int[] charts
           
(package private)  double[] cosAngle
           
(package private)  double cosLeastAngle
           
(package private)  double[] doubleArea
           
(package private)  double doubleMaxArea
           
(package private) static double LEAST_DISTANCE_FACTOR
           
(package private)  int maximalNumberOfTriangles
           
(package private)  int maxNob
           
(package private)  int nob
           
(package private)  int noo
           
(package private)  int[] oldies
           
(package private)  boolean refineFlag
           
(package private)  double sqrLeastDistance
           
 
Fields inherited from class numericalMethods.geometry.meshGeneration.ruppert.Delaunay
circleR, circleX, circleY, face, hasExteriorPoints, maxNof, maxNop, MIN_LINE_COS_ANGLE, neighbor, newEdge, newFace, nof, nop, obsolete, point, pointOnEdge, segment, xyBound
 
Constructor Summary
Ruppert(double[][] p)
           
 
Method Summary
(package private)  void addToCharts(int f)
           
(package private)  void addToOldies(int f)
           
(package private)  boolean bad(int f)
           
(package private)  void checkFaceArray()
           
(package private)  void checkForCharts()
           
(package private)  void checkForCharts(int f)
           
(package private)  void checkSegment(int f, int e)
           
(package private)  void checkSegments()
           
(package private)  void checkSegments(int f)
           
(package private)  void computeAngleAndArea()
           
(package private)  void computeAngleAndArea(int f)
           
(package private)  void computeMean(int f, int e)
           
(package private)  double cosLeastAngle()
           
(package private)  boolean distance(double x, double y, int f)
           
(package private)  boolean distance(double x, double y, int f, int e)
           
(package private)  boolean edgeIllegal(int f, int e)
           
(package private)  int encroached(int f, double x, double y)
           
(package private)  boolean encroached(int f, int e)
           
(package private)  boolean encroached(int f, int e, double x, double y)
           
(package private)  int flipEdge(int f, int e)
           
 double getAngleConstraint()
           
 double getAreaConstraint()
           
 int getMaximalNumberOfTriangles()
           
 int[] getNeighbors()
           
 boolean[] getSegments()
           
 boolean isDebug()
           
(package private)  double largestDoubleArea()
           
(package private)  int largestEdge(int f)
           
(package private)  double leastEdgeSqr()
           
(package private)  void legalizeNewFaces()
           
 void refine()
           
(package private)  void refine(int f)
           
(package private)  void result()
           
 void setAngleConstraint(double a)
           
 void setAreaConstraint(double a)
           
 void setDebug(boolean debug)
           
 void setMaximalNumberOfTriangles(int i)
           
(package private)  void splitEdge(int f, int e)
           
(package private)  void splitTriangle(int f)
           
 
Methods inherited from class numericalMethods.geometry.meshGeneration.ruppert.Delaunay
addPoint, addPoint, addPoint, checkForNewEdges, checkPointArray, checkTriangle, computeCircumCircle, computeCircumCircle, computeInteriorPoint, deleteObsoleteFaces, doubleSize, doubleSize, doubleSize, eatExterior, eatExterior, eatFace, edgeInFace, findTriangle, getBound, getIndices, getNeighbor, getNeighborPtr, getNumFaces, getNumPoints, getPoint, getPoints, getPoints, init, legalizeEdge, makePointArray, makeSegments, markSegment, pointInCircle, pointInFace, replaceNeighbor, seekAndMarkSegment, seekSegment, shiftPoints, triangulate
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cosAngle

double[] cosAngle

doubleArea

double[] doubleArea

cosLeastAngle

double cosLeastAngle

doubleMaxArea

double doubleMaxArea

maximalNumberOfTriangles

int maximalNumberOfTriangles

nob

int nob

maxNob

int maxNob

charts

int[] charts

noo

int noo

oldies

int[] oldies

refineFlag

boolean refineFlag

sqrLeastDistance

double sqrLeastDistance

LEAST_DISTANCE_FACTOR

static final double LEAST_DISTANCE_FACTOR
Constructor Detail

Ruppert

public Ruppert(double[][] p)
Method Detail

setMaximalNumberOfTriangles

public void setMaximalNumberOfTriangles(int i)

getMaximalNumberOfTriangles

public int getMaximalNumberOfTriangles()

setAngleConstraint

public void setAngleConstraint(double a)

getAngleConstraint

public double getAngleConstraint()

setAreaConstraint

public void setAreaConstraint(double a)

getAreaConstraint

public double getAreaConstraint()

refine

public void refine()

getSegments

public boolean[] getSegments()
Overrides:
getSegments in class Delaunay

getNeighbors

public int[] getNeighbors()

edgeIllegal

boolean edgeIllegal(int f,
                    int e)
Overrides:
edgeIllegal in class Delaunay

checkSegments

void checkSegments()

checkSegments

void checkSegments(int f)

encroached

boolean encroached(int f,
                   int e,
                   double x,
                   double y)

encroached

int encroached(int f,
               double x,
               double y)

encroached

boolean encroached(int f,
                   int e)

checkSegment

void checkSegment(int f,
                  int e)

legalizeNewFaces

void legalizeNewFaces()
Overrides:
legalizeNewFaces in class Delaunay

flipEdge

int flipEdge(int f,
             int e)
Overrides:
flipEdge in class Delaunay

splitTriangle

void splitTriangle(int f)
Overrides:
splitTriangle in class Delaunay

splitEdge

void splitEdge(int f,
               int e)
Overrides:
splitEdge in class Delaunay

refine

void refine(int f)

distance

boolean distance(double x,
                 double y,
                 int f)

distance

boolean distance(double x,
                 double y,
                 int f,
                 int e)

computeMean

void computeMean(int f,
                 int e)

largestEdge

int largestEdge(int f)

computeAngleAndArea

void computeAngleAndArea(int f)

computeAngleAndArea

void computeAngleAndArea()

bad

boolean bad(int f)

checkForCharts

void checkForCharts()

checkForCharts

void checkForCharts(int f)

addToCharts

void addToCharts(int f)

addToOldies

void addToOldies(int f)

checkFaceArray

void checkFaceArray()
Overrides:
checkFaceArray in class Delaunay

leastEdgeSqr

double leastEdgeSqr()

cosLeastAngle

double cosLeastAngle()

largestDoubleArea

double largestDoubleArea()

result

void result()

isDebug

public boolean isDebug()

setDebug

public void setDebug(boolean debug)