Class Icosahedron
- java.lang.Object
- 
- org.biojava.nbio.structure.symmetry.geometry.Icosahedron
 
- 
- All Implemented Interfaces:
- Polyhedron
 
 public class Icosahedron extends Object implements Polyhedron 
- 
- 
Constructor SummaryConstructors Constructor Description Icosahedron()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetCirumscribedRadius()Returns the radius of a circumscribed sphere, that goes through all verticesdoublegetInscribedRadius()Returns the radius of an inscribed sphere, that is tangent to each of the icosahedron's facesList<int[]>getLineLoops()doublegetMidRadius()Returns the radius of a sphere, that is tangent to each of the icosahedron's edgesjavax.vecmath.Point3d[]getVertices()intgetViewCount()javax.vecmath.Matrix3dgetViewMatrix(int index)StringgetViewName(int index)voidsetCirumscribedRadius(double cirumscribedRadius)Set the radius of a circumscribed sphere, that goes through all verticesvoidsetInscribedRadius(double radius)Sets the radius of an inscribed sphere, that is tangent to each of the icosahedron's facesvoidsetMidRadius(double radius)Sets the radius of radius of a sphere, that is tangent to each of the icosahedron's edges
 
- 
- 
- 
Constructor Detail- 
Icosahedronpublic Icosahedron() 
 
- 
 - 
Method Detail- 
getCirumscribedRadiuspublic double getCirumscribedRadius() Returns the radius of a circumscribed sphere, that goes through all vertices- Specified by:
- getCirumscribedRadiusin interface- Polyhedron
- Returns:
- the cirumscribedRadius
 
 - 
setCirumscribedRadiuspublic void setCirumscribedRadius(double cirumscribedRadius) Set the radius of a circumscribed sphere, that goes through all vertices- Parameters:
- cirumscribedRadius- the cirumscribedRadius to set
 
 - 
getInscribedRadiuspublic double getInscribedRadius() Returns the radius of an inscribed sphere, that is tangent to each of the icosahedron's faces- Returns:
- the inscribedRadius
 
 - 
setInscribedRadiuspublic void setInscribedRadius(double radius) Sets the radius of an inscribed sphere, that is tangent to each of the icosahedron's faces- Parameters:
- inscribedRadius- the inscribedRadius to set
 
 - 
getMidRadiuspublic double getMidRadius() Returns the radius of a sphere, that is tangent to each of the icosahedron's edges- Returns:
- the midRadius
 
 - 
setMidRadiuspublic void setMidRadius(double radius) Sets the radius of radius of a sphere, that is tangent to each of the icosahedron's edges- Parameters:
- midRadius- the midRadius to set
 
 - 
getVerticespublic javax.vecmath.Point3d[] getVertices() - Specified by:
- getVerticesin interface- Polyhedron
 
 - 
getLineLoopspublic List<int[]> getLineLoops() - Specified by:
- getLineLoopsin interface- Polyhedron
 
 - 
getViewCountpublic int getViewCount() - Specified by:
- getViewCountin interface- Polyhedron
 
 - 
getViewNamepublic String getViewName(int index) - Specified by:
- getViewNamein interface- Polyhedron
 
 - 
getViewMatrixpublic javax.vecmath.Matrix3d getViewMatrix(int index) - Specified by:
- getViewMatrixin interface- Polyhedron
 
 
- 
 
-