public class MicroDomain
extends java.lang.Object
Constructor and Description |
---|
MicroDomain(MicroDomain_3D microDomain,
MembranePackingAlgorithm algo)
Contructs a new MicroDomain object
! NOT MEANT TO BE USED BY PLUGIN DEVELOPERS !
|
Modifier and Type | Method and Description |
---|---|
int |
countSampleLipids_ExtraCellular()
Returns the number of lipid templates on the extracellular side of this
microdomain
|
int |
countSampleLipids_IntraCellular()
Returns the number of lipid templates on the intracellular side of this
microdomain
|
Lipid |
createNextExtracellularLipid()
Creates a new Lipid that can be placed in the membrane.
|
Lipid |
createNextIntracellularLipid()
Creates a new Lipid that can be placed in the membrane.
|
Lipid[] |
getAllSampleLipids_ExtraCellular()
Returns a copy of all lipid templates of the extracellular side of this
microdomain
|
Lipid[] |
getAllSampleLipids_IntraCellular()
Returns a copy of all lipid templates of the intracellular side of this
microdomain
|
double |
getArea()
Returns the area of the domain geometry.
|
java.awt.Rectangle |
getBounds()
Returns the bounding rectangle of the microdomain's defined area on the
x/z plane
|
int |
getDomainID()
Returns the Domain_ID for this microdomain
|
int |
getLayerID()
Returns the Layer_ID for this microdomain
|
Lipid |
getSampleLipid_ExtraCellular(int index)
Returns a copy of the extracellular lipid template at the specified
index.
|
Lipid |
getSampleLipid_IntraCellular(int index)
Returns a copy of the intracellular lipid template at the specified index
|
boolean |
hasAnyExtracellularLipids()
Tests if any extracellular lipids are available for in this microdomain
|
boolean |
hasAnyIntracellularLipids()
Tests if any intracellular lipids are available for in this microdomain
|
boolean |
isInsideArea(Molecule mol)
Tests wether a molecule's center is located inside the defined area of
this microdomain.
|
public MicroDomain(MicroDomain_3D microDomain, MembranePackingAlgorithm algo)
public java.awt.Rectangle getBounds()
public double getArea()
public boolean isInsideArea(Molecule mol)
mol
- the
molecule that you want to testpublic Lipid createNextExtracellularLipid()
public Lipid createNextIntracellularLipid()
public boolean hasAnyExtracellularLipids()
public boolean hasAnyIntracellularLipids()
public int getDomainID()
public int getLayerID()
public Lipid getSampleLipid_ExtraCellular(int index)
index
- the
index of the lipid templatepublic Lipid getSampleLipid_IntraCellular(int index)
index
- the
index of the lipid templatepublic Lipid[] getAllSampleLipids_ExtraCellular()
public Lipid[] getAllSampleLipids_IntraCellular()
public int countSampleLipids_ExtraCellular()
public int countSampleLipids_IntraCellular()