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

線分


フィールドの概要
 
クラス jp.carabiner.inkpod.pi.shape.line.Line から継承されたフィールド
a, b, c, hashCode, initHashCode
 
コンストラクタの概要
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)
           
 
メソッドの概要
protected  boolean checkLowerLine(double x, double y)
           
protected  boolean checkRange(double x, double y)
           
protected  boolean checkUpperLine(double x, double y)
           
 boolean equals(java.lang.Object obj)
           
 java.awt.geom.Point2D getEndPoint()
           
 double getLength()
           
 Line getLowerLine()
           
 java.awt.geom.Point2D getStartPoint()
           
 Line getUppperLine()
           
protected  int initHashCode()
           
 java.awt.geom.Point2D.Double intersectionPoint(Line line)
           
 java.awt.geom.Point2D.Double intersectionPoint(LineSegment lineSegment)
           
 boolean isLower(double x, double y)
           
 boolean isLower(long x, long y)
           
 boolean isOver(double x, double y)
           
 boolean isOver(long x, long y)
           
 boolean isUpper(double x, double y)
           
 boolean isUpper(long x, long y)
           
 java.awt.geom.Point2D pointOverLine(double location)
           
 java.lang.String toString()
           
 LineSegment translate(double d)
           
 Line translate(java.awt.geom.Point2D.Double p)
           
 
クラス 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