public class MembraneSegment extends Object implements LineSegment
| Constructor and Description |
|---|
MembraneSegment(AutomatonNode node,
LineSegment segment) |
| Modifier and Type | Method and Description |
|---|---|
Vector2D |
getEndingPoint() |
AutomatonNode |
getNode() |
LineSegment |
getSegment() |
Vector2D |
getStartingPoint() |
void |
setEndingPoint(Vector2D endingPoint) |
void |
setStartingPoint(Vector2D startingPoint) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdistanceTo, evaluatePointPosition, getIntersectionWith, getIntersectionWith, getLength, getRandomPoint, isHorizontal, isOnLine, isVerticalpublic MembraneSegment(AutomatonNode node, LineSegment segment)
public AutomatonNode getNode()
public LineSegment getSegment()
public Vector2D getStartingPoint()
getStartingPoint in interface LineSegmentpublic Vector2D getEndingPoint()
getEndingPoint in interface LineSegmentpublic void setStartingPoint(Vector2D startingPoint)
setStartingPoint in interface LineSegmentpublic void setEndingPoint(Vector2D endingPoint)
setEndingPoint in interface LineSegmentCopyright © 2018. All rights reserved.