Package | Description |
---|---|
de.unihalle.informatik.MiToBo.core.datatypes |
Provides basic datatypes for MiToBo.
|
Modifier and Type | Field and Description |
---|---|
protected Vector<MTBLineSegment2D> |
MTBLineSegment2DSet.lineSegmentSet
The set of line segments.
|
Modifier and Type | Method and Description |
---|---|
MTBLineSegment2D |
MTBLineSegment2D.clone() |
MTBLineSegment2D |
MTBLineSegment2DSet.elementAt(int i)
Get a specific line segment by index including a safety check.
|
MTBLineSegment2D |
MTBLineSegment2DSet.get(int i)
Get a specific line segment by index.
|
Modifier and Type | Method and Description |
---|---|
Iterator<MTBLineSegment2D> |
MTBLineSegment2DSet.iterator() |
Modifier and Type | Method and Description |
---|---|
boolean |
MTBLineSegment2DSet.add(MTBLineSegment2D line)
Append a new segment (at the end) to the set of line segments.
|
Point2D.Double |
MTBLineSegment2D.getIntersection(MTBLineSegment2D ls)
Calculates the point of intersection between the segments.
|
void |
MTBLineSegment2DSet.remove(MTBLineSegment2D lineToRemove)
Delete the given lineobject from the set, if contained.
|
double |
MTBLineSegment2D.scalprod(MTBLineSegment2D ls)
Calculates the scalar product of the given segment to this one.
|
void |
MTBLineSegment2DSet.setElementAt(MTBLineSegment2D line,
int i)
Replace the i-th line segment of the set.
|
Constructor and Description |
---|
MTBLineSegment2D(MTBLineSegment2D line)
Copy constructor.
|
Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.