|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LinearShape2D
A curve that can be inscribed in a straight line, like a ray, a straight line, or a line segment. Classes implementing this interface can be discontinuous, contrary to the interface LinearElement2D.
Field Summary |
---|
Fields inherited from interface math.geom2d.Shape2D |
---|
ACCURACY |
Method Summary | |
---|---|
Vector2D |
direction()
Return one direction vector of the linear shape. |
double |
horizontalAngle()
Returns the angle with axis (O,i), counted counter-clockwise. |
Point2D |
intersection(LinearShape2D line)
Returns the unique intersection with a linear shape. |
Point2D |
origin()
Returns a point in the linear shape. |
StraightLine2D |
supportingLine()
Returns the straight line that contains this linear shape. |
LinearShape2D |
transform(AffineTransform2D trans)
Transforms this linear shape. |
Methods inherited from interface math.geom2d.circulinear.CirculinearCurve2D |
---|
clip, continuousCurves, length, length, parallel, position, reverse, subCurve, transform |
Methods inherited from interface math.geom2d.circulinear.CirculinearShape2D |
---|
buffer |
Methods inherited from interface math.geom2d.curve.Curve2D |
---|
asAwtShape, clone, draw, firstPoint, getT0, getT1, intersections, isSingular, lastPoint, point, position, project, singularPoints, t0, t1, vertices |
Methods inherited from interface math.geom2d.Shape2D |
---|
boundingBox, contains, contains, distance, distance, isBounded, isEmpty |
Methods inherited from interface math.geom2d.GeometricObject2D |
---|
almostEquals |
Method Detail |
---|
StraightLine2D supportingLine()
double horizontalAngle()
Point2D origin()
Vector2D direction()
Point2D intersection(LinearShape2D line)
LinearShape2D transform(AffineTransform2D trans)
transform
in interface Curve2D
transform
in interface Shape2D
trans
- an affine transform
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |