Class RadialRep2D

java.lang.Object
mgui.geometry.Shape2D
mgui.morph.sections.RadialRep2D
All Implemented Interfaces:
java.lang.Cloneable, Shape, XMLObject

public class RadialRep2D
extends Shape2D
  • Field Details

    • source

      public Polygon2D source
    • circle

      public Circle2D circle
    • radii

      public java.util.ArrayList<Radius2D> radii
    • maxRadius

      public float maxRadius
  • Constructor Details

    • RadialRep2D

      public RadialRep2D()
    • RadialRep2D

      public RadialRep2D​(Polygon2D sourcePoly)
    • RadialRep2D

      public RadialRep2D​(RadialRepresentation thisRep)
  • Method Details

    • setCircle

      public void setCircle​(Circle2D thisCircle)
    • getVertex

      public org.jogamp.vecmath.Point2f getVertex​(int i)
      Specified by:
      getVertex in class Shape2D
    • getVertices

      public java.util.ArrayList<org.jogamp.vecmath.Point2f> getVertices()
      Specified by:
      getVertices in class Shape2D
    • setVertices

      public void setVertices​(java.util.ArrayList<org.jogamp.vecmath.Point2f> n)
      Specified by:
      setVertices in class Shape2D
    • addRadius

      public void addRadius​(Radius2D thisRadius)
    • setCircleRadius

      public void setCircleRadius​(float thisLen)
    • setFromRadialRepresentation

      public void setFromRadialRepresentation​(RadialRepresentation thisRep)
    • getPolygonNode

      public int getPolygonNode​(int i)
    • getRadialNode

      public int getRadialNode​(int i)
    • getRadiusAtNode

      public Radius2D getRadiusAtNode​(int i)
    • printRep

      public void printRep()