Package mgui.morph.sections
Class RadialRep2D
java.lang.Object
mgui.geometry.Shape2D
mgui.morph.sections.RadialRep2D
public class RadialRep2D extends Shape2D
-
Nested Class Summary
Nested classes/interfaces inherited from interface mgui.interfaces.xml.XMLObject
XMLObject.XMLEncoding, XMLObject.XMLType
-
Field Summary
-
Constructor Summary
Constructors Constructor Description RadialRep2D()
RadialRep2D(Polygon2D sourcePoly)
RadialRep2D(RadialRepresentation thisRep)
-
Method Summary
Modifier and Type Method Description void
addRadius(Radius2D thisRadius)
int
getPolygonNode(int i)
int
getRadialNode(int i)
Radius2D
getRadiusAtNode(int i)
org.jogamp.vecmath.Point2f
getVertex(int i)
java.util.ArrayList<org.jogamp.vecmath.Point2f>
getVertices()
void
printRep()
void
setCircle(Circle2D thisCircle)
void
setCircleRadius(float thisLen)
void
setFromRadialRepresentation(RadialRepresentation thisRep)
void
setVertices(java.util.ArrayList<org.jogamp.vecmath.Point2f> n)
Methods inherited from class mgui.geometry.Shape2D
clone, contains, getBounds, getCenterPt, getCoords, getDTD, getLocalName, getProximity, getProximityPoint, getShortXML, getSize, getVertices, getXML, getXML, getXMLSchema, handleXMLElementEnd, handleXMLElementStart, handleXMLString, setCoords, setVertices, transform, transform, writeXML, writeXML, writeXML
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
source
-
circle
-
radii
-
maxRadius
public float maxRadius
-
-
Constructor Details
-
RadialRep2D
public RadialRep2D() -
RadialRep2D
-
RadialRep2D
-
-
Method Details
-
setCircle
-
getVertex
public org.jogamp.vecmath.Point2f getVertex(int i) -
getVertices
public java.util.ArrayList<org.jogamp.vecmath.Point2f> getVertices()- Specified by:
getVertices
in classShape2D
-
setVertices
public void setVertices(java.util.ArrayList<org.jogamp.vecmath.Point2f> n)- Specified by:
setVertices
in classShape2D
-
addRadius
-
setCircleRadius
public void setCircleRadius(float thisLen) -
setFromRadialRepresentation
-
getPolygonNode
public int getPolygonNode(int i) -
getRadialNode
public int getRadialNode(int i) -
getRadiusAtNode
-
printRep
public void printRep()
-