public class DBline extends DBobject implements Serializable, Cloneable
| 构造器和说明 |
|---|
DBline()
required by the driver.
|
DBline(@Nullable DBlseg lseg) |
DBline(@Nullable DBpoint p1,
@Nullable DBpoint p2) |
DBline(double a,
double b,
double c) |
DBline(double x1,
double y1,
double x2,
double y2) |
DBline(String s) |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
clone()
This must be overridden to allow the object to be cloned.
|
boolean |
equals(@Nullable Object obj)
This must be overridden to allow comparisons of objects.
|
@Nullable String |
getValue()
This must be overridden, to return the value of the object, in the form required by
com.xugu.
|
int |
hashCode()
Compute hash.
|
void |
setValue(@Nullable String s)
This method sets the value of this object.
|
public double a
public double b
public double c
public DBline(double a,
double b,
double c)
a - coefficient of xb - coefficient of yc - constantpublic DBline(double x1,
double y1,
double x2,
double y2)
x1 - coordinate for first point on the liney1 - coordinate for first point on the linex2 - coordinate for second point on the liney2 - coordinate for second point on the linepublic DBline(@Nullable DBpoint p1, @Nullable DBpoint p2)
p1 - first point on the linep2 - second point on the linepublic DBline(@Nullable DBlseg lseg)
lseg - Line segment which calls on this line.public DBline(String s) throws SQLException
s - definition of the line in Xugu's syntax.SQLException - on conversion failurepublic DBline()
public void setValue(@Nullable String s) throws SQLException
DBobjectsetValue 在类中 DBobjects - Definition of the line in Xugu's syntaxSQLException - on conversion failurepublic boolean equals(@Nullable Object obj)
DBobjectpublic int hashCode()
DBobjecthashCode 在类中 DBobjectObjects.hashCode(Object)public @Nullable String getValue()
DBobjectpublic Object clone() throws CloneNotSupportedException
DBobjectclone 在类中 DBobjectCloneNotSupportedExceptionCopyright © 2025. All rights reserved.