jp.carabiner.inkpod.pi.shape.line
クラス LineSegment
java.lang.Object
jp.carabiner.inkpod.pi.shape.line.Line
jp.carabiner.inkpod.pi.shape.line.LineSegment
- すべての実装されたインタフェース:
- ShapeLine
- 直系の既知のサブクラス:
- ThickLineSegment
public class LineSegment
- extends Line
線分
コンストラクタの概要 |
protected |
LineSegment(double a,
double b,
double c,
java.awt.geom.Point2D startPoint,
java.awt.geom.Point2D endPoint,
Line startLine,
Line endLine,
Line uppperLine,
Line lowerLine,
java.lang.Double length)
|
|
LineSegment(java.awt.geom.Point2D p1,
java.awt.geom.Point2D p2)
|
クラス jp.carabiner.inkpod.pi.shape.line.Line から継承されたメソッド |
distance, distance, distance, getCoefficientX, getCoefficientY, getConstantTerm, getX, getY, hashCode, intersectionPoints, intersectionPoints, isLower, isLower, isOver, isOver, isUpper, isUpper, rotateRightAngle, rotateRightAngle, rotateRightAngle, translate, transrateC |
クラス java.lang.Object から継承されたメソッド |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
LineSegment
public LineSegment(java.awt.geom.Point2D p1,
java.awt.geom.Point2D p2)
LineSegment
protected LineSegment(double a,
double b,
double c,
java.awt.geom.Point2D startPoint,
java.awt.geom.Point2D endPoint,
Line startLine,
Line endLine,
Line uppperLine,
Line lowerLine,
java.lang.Double length)
initHashCode
protected int initHashCode()
- オーバーライド:
- クラス
Line
内の initHashCode
getLength
public double getLength()
getStartPoint
public java.awt.geom.Point2D getStartPoint()
getEndPoint
public java.awt.geom.Point2D getEndPoint()
translate
public LineSegment translate(double d)
- オーバーライド:
- クラス
Line
内の translate
translate
public Line translate(java.awt.geom.Point2D.Double p)
intersectionPoint
public java.awt.geom.Point2D.Double intersectionPoint(Line line)
- オーバーライド:
- クラス
Line
内の intersectionPoint
intersectionPoint
public java.awt.geom.Point2D.Double intersectionPoint(LineSegment lineSegment)
pointOverLine
public java.awt.geom.Point2D pointOverLine(double location)
isLower
public boolean isLower(long x,
long y)
- オーバーライド:
- クラス
Line
内の isLower
isLower
public boolean isLower(double x,
double y)
- オーバーライド:
- クラス
Line
内の isLower
isUpper
public boolean isUpper(long x,
long y)
- オーバーライド:
- クラス
Line
内の isUpper
isUpper
public boolean isUpper(double x,
double y)
- オーバーライド:
- クラス
Line
内の isUpper
isOver
public boolean isOver(long x,
long y)
- オーバーライド:
- クラス
Line
内の isOver
isOver
public boolean isOver(double x,
double y)
- オーバーライド:
- クラス
Line
内の isOver
checkRange
protected boolean checkRange(double x,
double y)
checkUpperLine
protected boolean checkUpperLine(double x,
double y)
checkLowerLine
protected boolean checkLowerLine(double x,
double y)
getUppperLine
public Line getUppperLine()
getLowerLine
public Line getLowerLine()
equals
public boolean equals(java.lang.Object obj)
- オーバーライド:
- クラス
Line
内の equals
toString
public java.lang.String toString()
- オーバーライド:
- クラス
Line
内の toString