jdsl.geomobj.api
Class GeomObject2D.NoneGeomObject2D
java.lang.Object
|
+--jdsl.geomobj.api.GeomObject2D.NoneGeomObject2D
- All Implemented Interfaces:
- GeomObject, GeomObject2D
- Enclosing class:
- GeomObject2D
- public static final class GeomObject2D.NoneGeomObject2D
- extends java.lang.Object
- implements GeomObject2D
A nested class used to implement the constant NONE. It is final,
and the constructor visibility is package, so that no one outside
this package can create a GeomObject2D.NoneGeomObject2D.
- Author:
- Luca Vismara (lv)
Method Summary |
int |
arithmeticType()
The arithmetic type of a geometric object is encoded as an
integer number. |
int |
dim()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
dim
public int dim()
throws InvalidGeomObjectException
- Specified by:
dim
in interface GeomObject
- Following copied from interface:
jdsl.geomobj.api.GeomObject
- Returns:
- the dimension of this
arithmeticType
public int arithmeticType()
throws InvalidGeomObjectException
- Description copied from interface:
GeomObject
- The arithmetic type of a geometric object is encoded as an
integer number. Current legal values are:
0 = an integer geometric object
1 = a rational geometric object
- Specified by:
arithmeticType
in interface GeomObject
- Following copied from interface:
jdsl.geomobj.api.GeomObject
- Returns:
- the arithmetic type of this