Class RectangularPrism
java.lang.Object
org.biojava.nbio.structure.symmetry.geometry.RectangularPrism
- All Implemented Interfaces:
Polyhedron
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the radius of a circumscribed sphere (length of diagonal of rectangular prism/2, that goes through at least four verticesdoubleReturns the radius of a sphere, that is tangent to each of the octahedron's edgesdoubleReturns the radius of a circumscribed sphere, that goes through all verticesList<int[]> javax.vecmath.Point3d[]Returns the vertices of an n-fold polygon of given radius and centerintjavax.vecmath.Matrix3dgetViewMatrix(int index) getViewName(int index) doublegetWidth()Returns the radius of an inscribed sphere, that is tangent to each of the octahedron's faces
-
Constructor Details
-
RectangularPrism
-
-
Method Details
-
getLength
Returns the radius of a circumscribed sphere, that goes through all vertices- Returns:
- the cirumscribedRadius
-
getWidth
Returns the radius of an inscribed sphere, that is tangent to each of the octahedron's faces- Returns:
- the inscribedRadius
-
getHeight
Returns the radius of a sphere, that is tangent to each of the octahedron's edges- Returns:
- the midRadius
-
getCirumscribedRadius
Returns the radius of a circumscribed sphere (length of diagonal of rectangular prism/2, that goes through at least four vertices- Specified by:
getCirumscribedRadiusin interfacePolyhedron- Returns:
- the cirumscribedRadius
-
getVertices
Returns the vertices of an n-fold polygon of given radius and center- Specified by:
getVerticesin interfacePolyhedron- Returns:
-
getLineLoops
- Specified by:
getLineLoopsin interfacePolyhedron
-
getViewCount
- Specified by:
getViewCountin interfacePolyhedron
-
getViewName
- Specified by:
getViewNamein interfacePolyhedron
-
getViewMatrix
- Specified by:
getViewMatrixin interfacePolyhedron
-