|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfhm.edu.fem.calc.objects.MembraneCircle
public class MembraneCircle
Class Description: This class acts as membrane circle in case of FEM5. It takes care of calculating the point coordinates out of the polar-coordinates and makes sure that the elements and borders are also created correctly.
Field Summary | |
---|---|
protected boolean |
alreadyCalculated
|
protected Node |
centerNode
|
protected static Logger |
localLogger
|
protected double |
membraneCircleCenterX
|
protected double |
membraneCircleCenterY
|
protected double |
membraneCircleRadius1
|
protected double |
membraneCircleRadius2
|
protected int |
membraneCircleSections
|
Constructor Summary | |
---|---|
MembraneCircle(FEMManager femManager)
Construct a new membrane circle from the data in the FEMManager |
Method Summary | |
---|---|
void |
calculateAll()
Calculate the nodes based on the settings |
protected void |
calculatePseudoNodesForQuadrats()
Calculate the Pseudo Nodes which lay between two other nodes. |
protected void |
calculatePseudoNodesForTriangles()
Calculate the Pseudo Nodes which lay between two other nodes. |
protected void |
calculateTriangles()
Calculate all triangles. |
double |
getAngle(int id)
Get the angle based on the number of sections with the specific ID |
Node |
getCenterNode()
|
double |
getCenterX()
|
double |
getCenterY()
|
double |
getRadius1()
|
double |
getRadius2()
|
int |
getSections()
|
protected NodeList |
transformNodeListFromQuadratToTriangle(NodeList nodeList)
Adjust the Order of the node list |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean alreadyCalculated
protected Node centerNode
protected static Logger localLogger
protected double membraneCircleCenterX
protected double membraneCircleCenterY
protected double membraneCircleRadius1
protected double membraneCircleRadius2
protected int membraneCircleSections
Constructor Detail |
---|
public MembraneCircle(FEMManager femManager)
femManager
- Method Detail |
---|
public void calculateAll()
protected void calculatePseudoNodesForQuadrats()
protected void calculatePseudoNodesForTriangles()
protected void calculateTriangles()
public double getAngle(int id) throws java.lang.IndexOutOfBoundsException
id,
- starting at 1, till number of sections
java.lang.IndexOutOfBoundsException
public Node getCenterNode()
public double getCenterX()
public double getCenterY()
public double getRadius1()
public double getRadius2()
public int getSections()
protected NodeList transformNodeListFromQuadratToTriangle(NodeList nodeList)
nodeList,
- the node list to adjust (it is not changed)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |