Class Tetrahedron
java.lang.Object
org.biojava.nbio.structure.symmetry.geometry.Tetrahedron
- All Implemented Interfaces:
- Polyhedron
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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 tetrahedrons's facesList<int[]> doubleReturns the radius of a sphere, that is tangent to each of the tetrahedron's edgesjavax.vecmath.Point3d[]Returns the vertices of an n-fold polygon of given radius and centerintjavax.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 tetrahedron's facesvoidsetMidRadius(double radius) Sets the radius of radius of a sphere, that is tangent to each of the tetrahedron's edges
- 
Constructor Details- 
Tetrahedronpublic Tetrahedron()
 
- 
- 
Method Details- 
getCirumscribedRadiusReturns the radius of a circumscribed sphere, that goes through all vertices- Specified by:
- getCirumscribedRadiusin interface- Polyhedron
- Returns:
- the cirumscribedRadius
 
- 
setCirumscribedRadiusSet the radius of a circumscribed sphere, that goes through all vertices- Parameters:
- cirumscribedRadius- the cirumscribedRadius to set
 
- 
getInscribedRadiusReturns the radius of an inscribed sphere, that is tangent to each of the tetrahedrons's faces- Returns:
- the inscribedRadius
 
- 
setInscribedRadiusSets the radius of an inscribed sphere, that is tangent to each of the tetrahedron's faces- Parameters:
- radius- the inscribedRadius to set
 
- 
getMidRadiusReturns the radius of a sphere, that is tangent to each of the tetrahedron's edges- Returns:
- the midRadius
 
- 
setMidRadiusSets the radius of radius of a sphere, that is tangent to each of the tetrahedron's edges- Parameters:
- radius- the midRadius to set
 
- 
getVerticesReturns the vertices of an n-fold polygon of given radius and center- Specified by:
- getVerticesin interface- Polyhedron
- Returns:
 
- 
getLineLoops- Specified by:
- getLineLoopsin interface- Polyhedron
 
- 
getViewCount- Specified by:
- getViewCountin interface- Polyhedron
 
- 
getViewName- Specified by:
- getViewNamein interface- Polyhedron
 
- 
getViewMatrix- Specified by:
- getViewMatrixin interface- Polyhedron
 
 
-