public class Edge extends StraightLine
| Modifier and Type | Method and Description | 
|---|---|
| void | applyTransform(Transform t)Applies the Transform t to the object. | 
| boolean | equals(java.lang.Object o) | 
| PointND | evaluate(double u)Returns a point on the Curve at position u [0, 1]; | 
| PointND | getEnd() | 
| double | getLastInternalIndex() | 
| double | getLength()Returns length of edge in mm | 
| PointND[] | getRasterPoints(int number)Rasters the shape with a given number of points or less. | 
| PointND | intersect(StraightLine line) | 
| boolean | isBounded()Returns true if the shape is of limited space | 
| void | setEnds(PointND point,
       PointND point2) | 
| java.lang.String | toString() | 
computeDistanceTo, getDimension, getDirection, getPoint, init, init, intersect, intersect, normalize, setDirection, setPointevaluate, getInternalDimensiongetHitsOnBoundingBox_slow, getHitsOnBoundingBox, getMax, getMin, getName, setNamepublic double getLastInternalIndex()
public PointND getEnd()
public boolean isBounded()
AbstractShapeisBounded in class StraightLinepublic PointND intersect(StraightLine line)
intersect in class StraightLinepublic PointND evaluate(double u)
AbstractCurveevaluate in class StraightLineu - the internal one dimensional positionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class StraightLinepublic PointND[] getRasterPoints(int number)
AbstractShapegetRasterPoints in class StraightLinenumber - the number of pointspublic void applyTransform(Transform t)
TransformableapplyTransform in interface TransformableapplyTransform in class StraightLinet - the transform to apply to the object.public double getLength()