|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.jfimagine.jfgraph.geom.JFPoint
|
+--com.jfimagine.jfgraph.geom.JFCurvePoint
JFCurvePoint class. This class is an assistant class used to represent a certain position on a bezier curve.
| Constructor Summary | |
JFCurvePoint()
Constructor for JFCurvePoint. |
|
JFCurvePoint(JFCurvePoint pnt)
Constructor for JFCurvePoint. |
|
| Method Summary | |
java.lang.Object |
clone()
Creates a new object of the same class and with the same contents as this object. |
boolean |
equals(java.lang.Object obj,
boolean analog)
Determines whether or not two objects are equal. |
int |
getSegmentId()
Get the serial number of the curve segments. |
double |
getTimeInterval()
Get time interval |
int |
getTotalSegments()
Get total segments of the curve. |
int |
hashCode()
Returns the hashcode for this Object. |
void |
setSegmentId(int segmentId)
Set the serial number of the curve segments. |
void |
setTimeInterval(double timeInterval)
Set time interval |
void |
setTotalSegments(int totalSegments)
Set total segments of the curve. |
void |
setValue(JFCurvePoint pnt)
Set value of current JFCurvePoint. |
java.lang.String |
toString()
Convert this object to String |
| Methods inherited from class com.jfimagine.jfgraph.geom.JFPoint |
contains, contains, distance, distance, equals, equals, flipBy, getMiddleUprightPoint, getSlope, getSlope, getX, getY, isValid, middleOf, middleOf, midPoint, midPoint, mirrorBy, moveBy, nearPoint, nearPoint, nearPoint, rotateBy, rotateBy, scaleBy, scaleBy, scaleBy, setValue, setValue, setX, setY |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public JFCurvePoint()
public JFCurvePoint(JFCurvePoint pnt)
pnt - A JFCurvePoint.| Method Detail |
public int getSegmentId()
public void setSegmentId(int segmentId)
segmentId - A new segment serial number.public int getTotalSegments()
public void setTotalSegments(int totalSegments)
public double getTimeInterval()
public void setTimeInterval(double timeInterval)
public void setValue(JFCurvePoint pnt)
public java.lang.String toString()
toString in class JFPoint
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class JFPointjava.lang.CloneNotSupportedExceptionpublic int hashCode()
hashCode in class JFPoint
public boolean equals(java.lang.Object obj,
boolean analog)
equals in class JFPointobj - an object to be compared with this objectanalog - True if use integer type to compare two points,False use double.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||