|
||||||||||
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, line a ray, a straight line, or a line segment.
Field Summary |
---|
Fields inherited from interface math.geom2d.Shape2D |
---|
ACCURACY |
Method Summary | |
---|---|
double |
getHorizontalAngle()
Gets Angle with axis (O,i), counted counter-clockwise. |
Point2D |
getIntersection(LinearShape2D line)
Returns the unique intersection with a linear shape. |
Point2D |
getOrigin()
Returns a point in the linear shape. |
StraightLine2D |
getSupportingLine()
|
Vector2D |
getVector()
Return one direction vector of the linear shape. |
LinearShape2D |
transform(AffineTransform2D trans)
Transforms the shape by an affine transform. |
Methods inherited from interface math.geom2d.circulinear.CirculinearCurve2D |
---|
clip, getContinuousCurves, getLength, getLength, getParallel, getPosition, getReverseCurve, getSubCurve, transform |
Methods inherited from interface math.geom2d.circulinear.CirculinearShape2D |
---|
getBuffer |
Methods inherited from interface math.geom2d.curve.Curve2D |
---|
clone, draw, getAsAWTShape, getFirstPoint, getIntersections, getLastPoint, getPoint, getPosition, getSingularPoints, getT0, getT1, isSingular, project |
Methods inherited from interface math.geom2d.Shape2D |
---|
contains, contains, getBoundingBox, getDistance, getDistance, isBounded, isEmpty |
Method Detail |
---|
StraightLine2D getSupportingLine()
double getHorizontalAngle()
Point2D getOrigin()
Vector2D getVector()
Point2D getIntersection(LinearShape2D line)
LinearShape2D transform(AffineTransform2D trans)
Shape2D
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 |