| Modifier and Type | Field and Description |
|---|---|
| public double | a
Coefficient of x. |
| public double | b
Coefficient of y. |
| public double | c
Constant. |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public | PGline(double
coordinate for first point on the line x1, double coordinate for first point on the line y1, double coordinate for second point on the line x2, double coordinate for second point on the line y2)
|
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | clone()
Overrides org. This must be overridden to allow the object to be cloned. |
| public boolean | Returns: true if the two lines are identicalObject to compare with obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| public @Nullable String | Returns: the PGline in the syntax expected by org.postgresqlOverrides org. This must be overridden, to return the value of the object, in the form required by org.postgresql. |
| public int | |
| private void | |
| private void | |
| public void |
| a | back to summary |
|---|---|
| public double a Coefficient of x. | |
| b | back to summary |
|---|---|
| public double b Coefficient of y. | |
| c | back to summary |
|---|---|
| public double c Constant. | |
| isNull | back to summary |
|---|---|
| private boolean isNull | |
| PGline | back to summary |
|---|---|
public PGline(double a, double b, double c)
| |
| PGline | back to summary |
|---|---|
public PGline(double x1, double y1, double x2, double y2)
| |
| PGline | back to summary |
|---|---|
public PGline(@Nullable PGpoint p1, @Nullable PGpoint p2)
| |
| PGline | back to summary |
|---|---|
public PGline(@Nullable PGlseg lseg)
| |
| PGline | back to summary |
|---|---|
public PGline(String s) throws SQLException
| |
| PGline | back to summary |
|---|---|
| public PGline() required by the driver. | |
| clone | back to summary |
|---|---|
| public Object clone() throws CloneNotSupportedException Overrides org. Doc from org. This must be overridden to allow the object to be cloned.
| |
| equals | back to summary |
|---|---|
| public boolean equals(@Nullable Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getValue | back to summary |
|---|---|
| public @Nullable String getValue() Overrides org. Doc from org. This must be overridden, to return the value of the object, in the form required by org.postgresql. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides org. Doc from org. Compute hash. As equals() use only value. Return the same hash for the same value.
| |
| setValue | back to summary |
|---|---|
| private void setValue(@Nullable PGpoint p1, @Nullable PGpoint p2) | |
| setValue | back to summary |
|---|---|
| private void setValue(double x1, double y1, double x2, double y2) | |
| setValue | back to summary |
|---|---|
public void setValue(@Nullable String s) throws SQLException
| |