ucl.physiol.neuroconstruct.cell.compartmentalisation
Class SegmentRange
java.lang.Object
ucl.physiol.neuroconstruct.cell.compartmentalisation.SegmentRange
public class SegmentRange
- extends Object
Helper class for compartmentalisations. Defines a segment Id, it's length, and a range
defined by start and end fractions (0 to 1). This forms the basis of the SegmentLocMapper
where a SegmentRange of one cell (e.g seg of len 10, 0 to 1) is mapped to a recompartmentalised cell
e.g. seg of len 20, 0 to 0.5
- Author:
- Padraig Gleeson
- See Also:
SegmentLocMapper
|
Constructor Summary |
SegmentRange(int segmentId,
float totalSegmentLength,
float startFract,
float endFract)
|
SegmentRange
public SegmentRange(int segmentId,
float totalSegmentLength,
float startFract,
float endFract)
getSegmentId
public int getSegmentId()
getTotalSegmentLength
public float getTotalSegmentLength()
getStartFract
public float getStartFract()
getEndFract
public float getEndFract()
getRangeLength
public float getRangeLength()
- The length of the segment between the start and end of the range
toString
public String toString()
- Overrides:
toString in class Object