java.lang.Object
java.awt.geom.Point2D
java.awt.geom.Point2D.Double
org.jhotdraw8.geom.intersect.IntersectionPoint
org.jhotdraw8.geom.intersect.IntersectionPointEx
- All Implemented Interfaces:
Serializable,Cloneable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.awt.geom.Point2D
Point2D.Double, Point2D.Float -
Field Summary
Fields inherited from class org.jhotdraw8.geom.intersect.IntersectionPoint
argumentA, segmentAFields inherited from class java.awt.geom.Point2D.Double
x, y -
Constructor Summary
ConstructorsConstructorDescriptionIntersectionPointEx(double px, double py, double argumentA, double derivativeAX, double derivativeAY, double argumentB, double derivativeBX, double derivativeBY) IntersectionPointEx(double px, double py, double argumentA, double tx1, double ty1, int segmentA, double t2, double tx2, double ty2, int segmentB) IntersectionPointEx(Point2D.Double point, double argumentA, Point2D.Double derivativeA, double argumentB, Point2D.Double derivativeB) IntersectionPointEx(Point2D.Double point, double argumentA, Point2D.Double derivativeA, int segmentA, double argumentB, Point2D.Double derivativeB, int segmentB) -
Method Summary
Modifier and TypeMethodDescriptiondoubleThe value of the argument of the parametric function 'b' at the intersection.The derivative vector at the intersection of the parametric function 'a'.The derivative vector at the intersection of the second parametric function.intIf parametric function 'b' is a segment of a segmented function, then this field is used to indicate to which segment the parametric function belongs.toString()withSegmentA(int segmentIndex) withSegmentB(int segmentIndex) Methods inherited from class org.jhotdraw8.geom.intersect.IntersectionPoint
argumentA, segmentAMethods inherited from class java.awt.geom.Point2D.Double
getX, getY, setLocationMethods inherited from class java.awt.geom.Point2D
clone, distance, distance, distance, distanceSq, distanceSq, distanceSq, equals, hashCode, setLocation
-
Constructor Details
-
IntersectionPointEx
public IntersectionPointEx(Point2D.Double point, double argumentA, Point2D.Double derivativeA, double argumentB, Point2D.Double derivativeB) -
IntersectionPointEx
public IntersectionPointEx(double px, double py, double argumentA, double derivativeAX, double derivativeAY, double argumentB, double derivativeBX, double derivativeBY) -
IntersectionPointEx
public IntersectionPointEx(Point2D.Double point, double argumentA, Point2D.Double derivativeA, int segmentA, double argumentB, Point2D.Double derivativeB, int segmentB) -
IntersectionPointEx
public IntersectionPointEx(double px, double py, double argumentA, double tx1, double ty1, int segmentA, double t2, double tx2, double ty2, int segmentB)
-
-
Method Details
-
getSegmentB
public int getSegmentB()If parametric function 'b' is a segment of a segmented function, then this field is used to indicate to which segment the parametric function belongs.The index of the segment.
-
getDerivativeA
The derivative vector at the intersection of the parametric function 'a'. This vector is not normalized. -
getArgumentB
public double getArgumentB()The value of the argument of the parametric function 'b' at the intersection. -
getDerivativeB
The derivative vector at the intersection of the second parametric function. This vector is not normalized. -
withSegmentA
-
withSegmentB
-
toString
- Overrides:
toStringin classIntersectionPoint
-