java.lang.Object
org.jhotdraw8.geom.contour.PlineVertex
- All Implemented Interfaces:
Cloneable
PlineVertex.
References:
This code has been derived from CavalierContours.
- CavalierContours. Copyright (c) 2019 Jedidiah Buck McCready. MIT License.
- github.com
-
Constructor Summary
ConstructorsConstructorDescriptionPlineVertex(double x, double y) PlineVertex(double x, double y, double bulge) PlineVertex(Point2D.Double p, double bulge) -
Method Summary
Modifier and TypeMethodDescriptiondoublebulge()voidbulge(double bulge) booleanbooleanbooleanbooleanbulgeIsZero(double epsilon) clone()booleandoublegetX()doublegetY()inthashCode()static Point2D.Doublemidpoint(Point2D.Double p0, Point2D.Double p1) static Point2D.DoublepointOnCircle(double radius, Point2D.Double center, double angle) pos()static doublesegLength(PlineVertex v1, PlineVertex v2) static Point2D.DoublesegMidpoint(PlineVertex v1, PlineVertex v2) toString()
-
Constructor Details
-
PlineVertex
-
PlineVertex
public PlineVertex(double x, double y) -
PlineVertex
public PlineVertex(double x, double y, double bulge)
-
-
Method Details
-
bulgeIsNeg
public boolean bulgeIsNeg() -
bulgeIsPos
public boolean bulgeIsPos() -
bulgeIsZero
public boolean bulgeIsZero() -
bulgeIsZero
public boolean bulgeIsZero(double epsilon) -
getX
public double getX() -
getY
public double getY() -
bulge
public double bulge() -
bulge
public void bulge(double bulge) -
pos
-
equals
-
hashCode
public int hashCode() -
segLength
-
segMidpoint
-
midpoint
-
pointOnCircle
-
toString
-
clone
-