Class Icosahedron
java.lang.Object
org.biojava.nbio.structure.symmetry.geometry.Icosahedron
- All Implemented Interfaces:
Polyhedron
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the radius of a circumscribed sphere, that goes through all verticesdoubleReturns the radius of an inscribed sphere, that is tangent to each of the icosahedron's facesList<int[]> doubleReturns the radius of a sphere, that is tangent to each of the icosahedron's edgesjavax.vecmath.Point3d[]intjavax.vecmath.Matrix3dgetViewMatrix(int index) getViewName(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 Details
-
Icosahedron
public Icosahedron()
-
-
Method Details
-
getCirumscribedRadius
Returns the radius of a circumscribed sphere, that goes through all vertices- Specified by:
getCirumscribedRadiusin interfacePolyhedron- Returns:
- the cirumscribedRadius
-
setCirumscribedRadius
Set the radius of a circumscribed sphere, that goes through all vertices- Parameters:
cirumscribedRadius- the cirumscribedRadius to set
-
getInscribedRadius
Returns the radius of an inscribed sphere, that is tangent to each of the icosahedron's faces- Returns:
- the inscribedRadius
-
setInscribedRadius
Sets the radius of an inscribed sphere, that is tangent to each of the icosahedron's faces- Parameters:
radius- the inscribedRadius to set
-
getMidRadius
Returns the radius of a sphere, that is tangent to each of the icosahedron's edges- Returns:
- the midRadius
-
setMidRadius
Sets the radius of radius of a sphere, that is tangent to each of the icosahedron's edges- Parameters:
radius- the midRadius to set
-
getVertices
- Specified by:
getVerticesin interfacePolyhedron
-
getLineLoops
- Specified by:
getLineLoopsin interfacePolyhedron
-
getViewCount
- Specified by:
getViewCountin interfacePolyhedron
-
getViewName
- Specified by:
getViewNamein interfacePolyhedron
-
getViewMatrix
- Specified by:
getViewMatrixin interfacePolyhedron
-