|
JNISpice version 2.0.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectspice.basic.IDMap
spice.basic.SurfaceIDMap
spice.basic.SurfaceCode
public class SurfaceCode
Class SurfaceCode represents surface-name mappings that are initialized by specification of a surface ID code and a Body.
SPICE applications normally won't need to use
this class directly; they should use the class
Surface
instead.
Version 1.0.0 26-DEC-2016 (NJB)
Constructor Summary | |
---|---|
SurfaceCode(int code,
Body body)
Create a new SurfaceCode from an int surface ID code and a Body. |
Method Summary | |
---|---|
SurfaceCode |
deepCopy()
Return a deep copy of this instance. |
Body |
getBody()
Return the Body associated with this surface. |
int |
getIDCode()
Return the integer Surface ID code of this SurfaceCode instance. |
java.lang.String |
getName()
Return the surface name associated with this ID code. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SurfaceCode(int code, Body body) throws SpiceException
SpiceException
Method Detail |
---|
public int getIDCode()
getIDCode
in class IDMap
public java.lang.String getName() throws SpiceException
getName
in class IDMap
SpiceException
public Body getBody() throws SpiceException
getBody
in class SurfaceIDMap
SpiceException
public SurfaceCode deepCopy() throws SpiceException
deepCopy
in class SurfaceIDMap
SpiceException
|
JNISpice version 2.0.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |