java.lang.Object
uk.ac.leeds.ccg.generic.memory.Generic_MemoryManager
uk.ac.leeds.ccg.v3d.core.V3D_Environment
- All Implemented Interfaces:
java.io.Serializable,uk.ac.leeds.ccg.generic.memory.Generic_Memory
public class V3D_Environment
extends uk.ac.leeds.ccg.generic.memory.Generic_MemoryManager
V3D_Environment
- Version:
- 1.0
- Author:
- Andy Turner
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description uk.ac.leeds.ccg.math.Math_BigDecimalbdMathBigDecimaluk.ac.leeds.ccg.generic.core.Generic_EnvironmentenvV3D_FilesfilesV3D_VectoriUnit vector based at the origin in the x axis direction.V3D_VectorjUnit vector based at the origin in the y axis direction.V3D_VectorkUnit vector based at the origin in the z axis direction.ch.obermuhlner.math.big.BigRationalN1V3D_PointoriginThe origin at<0,0,0>.ch.obermuhlner.math.big.BigRationalP0For code brevity.ch.obermuhlner.math.big.BigRationalP1ch.obermuhlner.math.big.BigRationalP2ch.obermuhlner.math.big.BigRationalP3V3D_LinexAxisThe x axis.V3D_LineyAxisThe y axis.V3D_LinezAxisThe z axis.V3D_VectorzeroVectorZero vector. -
Constructor Summary
Constructors Constructor Description V3D_Environment(uk.ac.leeds.ccg.generic.core.Generic_Environment e)V3D_Environment(uk.ac.leeds.ccg.generic.core.Generic_Environment e, uk.ac.leeds.ccg.generic.io.Generic_Path dir) -
Method Summary
Modifier and Type Method Description booleancheckAndMaybeFreeMemory()java.math.BigDecimalgetRounded_BigDecimal(java.math.BigDecimal toRoundBigDecimal, java.math.BigDecimal toRoundToBigDecimal)booleanswapSomeData()booleanswapSomeData(boolean hoome)
-
Field Details
-
origin
The origin at<0,0,0>. -
xAxis
The x axis. -
yAxis
The y axis. -
zAxis
The z axis. -
i
Unit vector based at the origin in the x axis direction. -
j
Unit vector based at the origin in the y axis direction. -
k
Unit vector based at the origin in the z axis direction. -
zeroVector
Zero vector. -
P0
public final ch.obermuhlner.math.big.BigRational P0For code brevity. -
P1
public final ch.obermuhlner.math.big.BigRational P1 -
P2
public final ch.obermuhlner.math.big.BigRational P2 -
P3
public final ch.obermuhlner.math.big.BigRational P3 -
N1
public final ch.obermuhlner.math.big.BigRational N1 -
env
public uk.ac.leeds.ccg.generic.core.Generic_Environment env -
files
-
bd
public uk.ac.leeds.ccg.math.Math_BigDecimal bdMathBigDecimal
-
-
Constructor Details
-
V3D_Environment
public V3D_Environment(uk.ac.leeds.ccg.generic.core.Generic_Environment e) throws java.io.IOException, java.lang.Exception- Throws:
java.io.IOExceptionjava.lang.Exception
-
V3D_Environment
public V3D_Environment(uk.ac.leeds.ccg.generic.core.Generic_Environment e, uk.ac.leeds.ccg.generic.io.Generic_Path dir) throws java.io.IOException, java.lang.Exception- Throws:
java.io.IOExceptionjava.lang.Exception
-
-
Method Details
-
getRounded_BigDecimal
public java.math.BigDecimal getRounded_BigDecimal(java.math.BigDecimal toRoundBigDecimal, java.math.BigDecimal toRoundToBigDecimal) -
swapSomeData
public boolean swapSomeData() throws java.io.IOException, java.lang.Exception- Specified by:
swapSomeDatain classuk.ac.leeds.ccg.generic.memory.Generic_MemoryManager- Throws:
java.io.IOExceptionjava.lang.Exception
-
swapSomeData
public boolean swapSomeData(boolean hoome) throws java.io.IOException, java.lang.Exception- Specified by:
swapSomeDatain classuk.ac.leeds.ccg.generic.memory.Generic_MemoryManager- Throws:
java.io.IOExceptionjava.lang.Exception
-
checkAndMaybeFreeMemory
public boolean checkAndMaybeFreeMemory() throws java.io.IOException, java.lang.Exception- Specified by:
checkAndMaybeFreeMemoryin interfaceuk.ac.leeds.ccg.generic.memory.Generic_Memory- Specified by:
checkAndMaybeFreeMemoryin classuk.ac.leeds.ccg.generic.memory.Generic_MemoryManager- Throws:
java.io.IOExceptionjava.lang.Exception
-