public class PdfmSurface extends Surface
SURFACE_TAG
Constructor and Description |
---|
PdfmSurface() |
PdfmSurface(PointingElement org) |
PdfmSurface(java.lang.String surfaceName) |
PdfmSurface(java.lang.String name,
java.lang.String frame,
java.lang.String origin,
java.lang.String units,
float a,
float b,
float c,
float axisAX,
float axisAY,
float axisAZ,
float axisBX,
float axisBY,
float axisBZ,
float axisCX,
float axisCY,
float axisCZ)
Creates a ellipsoid surface.
|
PdfmSurface(java.lang.String name,
java.lang.String frame,
java.lang.String origin,
java.lang.String unitsA,
float a,
java.lang.String unitsB,
float b,
java.lang.String unitsC,
float c,
java.lang.String axisAFrame,
float axisAX,
float axisAY,
float axisAZ,
java.lang.String axisBFrame,
float axisBX,
float axisBY,
float axisBZ,
java.lang.String axisCFrame,
float axisCX,
float axisCY,
float axisCZ)
Creates a ellipsoid surface.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSurfaceName()
Get the name of this surface, that will be used to refer to it.
|
boolean |
hasSurfaceName() |
static PdfmSurface |
readFrom(org.w3c.dom.Node node) |
void |
setSurfaceName(java.lang.String name)
Set the name of the surface, that will be used to refer to it.
|
java.lang.String |
toXml(int indent)
Write a XML representation of this element
|
copy, getA, getA, getB, getB, getC, getC, getFloatField, getFrame, getOrigin, getRef, getUnit, getUnitA, getUnitB, getUnitC, setA, setAAxis, setAxis, setB, setBAxis, setC, setCAxis, setFloatField, setFrame, setOrigin, setRef, setUnit
addAttribute, addChild, asDataset, copyFrom, equals, getAttribute, getAttributes, getChild, getChildren, getDescription, getFirstLevelTextContent, getName, getValue, hasAttributtes, hasChildren, regenerate, removeAttribute, removeAttribute, setDescription, setValue, toString, toStringParameter, validate
public PdfmSurface(PointingElement org)
public PdfmSurface()
public PdfmSurface(java.lang.String surfaceName)
public PdfmSurface(java.lang.String name, java.lang.String frame, java.lang.String origin, java.lang.String unitsA, float a, java.lang.String unitsB, float b, java.lang.String unitsC, float c, java.lang.String axisAFrame, float axisAX, float axisAY, float axisAZ, java.lang.String axisBFrame, float axisBX, float axisBY, float axisBZ, java.lang.String axisCFrame, float axisCX, float axisCY, float axisCZ)
name
- Name of the surface, that will be used to refer to it.frame
- Frame that this surface is relative toorigin
- Origin of the surfaceunitsA
- Units where the semi axe A is expresseda
- semi axe AunitsB
- Units where the semi axe B is expressedb
- semi axe BunitsC
- Units where the semi axe C is expressedc
- semi axe CaxisAFrame
- Frame of the axe AaxisAX
- X Component of the axe AaxisAY
- Y Component of the axe AaxisAZ
- Z Component of the axe AaxisBFrame
- Frame of the axe BaxisBX
- X Component of the axe BaxisBY
- Y Component of the axe BaxisBZ
- Z Component of the axe BaxisCFrame
- Frame of the axe CaxisCX
- X Component of the axe CaxisCY
- Y Component of the axe CaxisCZ
- Z Component of the axe Cpublic PdfmSurface(java.lang.String name, java.lang.String frame, java.lang.String origin, java.lang.String units, float a, float b, float c, float axisAX, float axisAY, float axisAZ, float axisBX, float axisBY, float axisBZ, float axisCX, float axisCY, float axisCZ)
name
- Name of the surface, that will be used to refer to it.frame
- Frame that this surface is relative to (And the axis A, B and C)origin
- Origin of the surfaceunits
- Units where the semi axes A,B and C is expresseda
- semi axe Ab
- semi axe Bc
- semi axe CaxisAX
- X Component of the axe AaxisAY
- Y Component of the axe AaxisAZ
- Z Component of the axe AaxisBX
- X Component of the axe BaxisBY
- Y Component of the axe BaxisBZ
- Z Component of the axe BaxisCX
- X Component of the axe CaxisCY
- Y Component of the axe CaxisCZ
- Z Component of the axe Cpublic void setSurfaceName(java.lang.String name)
name
- public java.lang.String getSurfaceName()
public boolean hasSurfaceName()
public java.lang.String toXml(int indent)
PointingElement
toXml
in class PointingElement
indent
- The initial indent to be applied to the XMLpublic static PdfmSurface readFrom(org.w3c.dom.Node node)