Class MembraneSegment
- java.lang.Object
-
- bio.singa.simulation.model.agents.surfacelike.MembraneSegment
-
- All Implemented Interfaces:
bio.singa.mathematics.geometry.edges.LineSegment
public class MembraneSegment extends Object implements bio.singa.mathematics.geometry.edges.LineSegment
- Author:
- cl
-
-
Constructor Summary
Constructors Constructor Description MembraneSegment(AutomatonNode node, bio.singa.mathematics.geometry.edges.LineSegment segment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.measure.Quantity<javax.measure.quantity.Area>getArea()bio.singa.mathematics.vectors.Vector2DgetEndingPoint()AutomatonNodegetNode()bio.singa.mathematics.geometry.edges.LineSegmentgetSegment()bio.singa.mathematics.vectors.Vector2DgetStartingPoint()voidsetEndingPoint(bio.singa.mathematics.vectors.Vector2D endingPoint)voidsetStartingPoint(bio.singa.mathematics.vectors.Vector2D startingPoint)StringtoString()
-
-
-
Constructor Detail
-
MembraneSegment
public MembraneSegment(AutomatonNode node, bio.singa.mathematics.geometry.edges.LineSegment segment)
-
-
Method Detail
-
getNode
public AutomatonNode getNode()
-
getSegment
public bio.singa.mathematics.geometry.edges.LineSegment getSegment()
-
getArea
public javax.measure.Quantity<javax.measure.quantity.Area> getArea()
-
getStartingPoint
public bio.singa.mathematics.vectors.Vector2D getStartingPoint()
- Specified by:
getStartingPointin interfacebio.singa.mathematics.geometry.edges.LineSegment
-
getEndingPoint
public bio.singa.mathematics.vectors.Vector2D getEndingPoint()
- Specified by:
getEndingPointin interfacebio.singa.mathematics.geometry.edges.LineSegment
-
setStartingPoint
public void setStartingPoint(bio.singa.mathematics.vectors.Vector2D startingPoint)
- Specified by:
setStartingPointin interfacebio.singa.mathematics.geometry.edges.LineSegment
-
setEndingPoint
public void setEndingPoint(bio.singa.mathematics.vectors.Vector2D endingPoint)
- Specified by:
setEndingPointin interfacebio.singa.mathematics.geometry.edges.LineSegment
-
-