public class DwgSolid extends DwgObject implements IDwgExtrusionable, IDwg3DTestable, IDwg2FMap, IDwgBlockMember
address, avanzarFlag, color, extendedData, graphicData, graphicsFlag, handle, index, layerHandle, linetypeFlags, mode, noLinks, numReactors, plotstyleFlags, plotStyleHandle, sizeInBits, subEntityHandle, type, version, xDicObjFlag, xDicObjHandle
Constructor and Description |
---|
DwgSolid(int index) |
Modifier and Type | Method and Description |
---|---|
void |
applyExtrussion() |
Object |
clone() |
protected void |
fill(DwgObject obj) |
double[] |
getCorner1() |
double[] |
getCorner2() |
double[] |
getCorner3() |
double[] |
getCorner4() |
double |
getElevation() |
double[] |
getExtrusion() |
int |
getGeometryType() |
double |
getThickness() |
double |
getZ() |
boolean |
has3DData() |
void |
readDwgSolidV15(int[] data,
int offset)
Read a Solid in the DWG format Version 15
|
void |
setCorner1(double[] corner1) |
void |
setCorner2(double[] corner2) |
void |
setCorner3(double[] corner3) |
void |
setCorner4(double[] corner4) |
void |
setElevation(double elevation) |
void |
setExtrusion(double[] extrusion) |
void |
setThickness(double thickness) |
Geometry |
toFMapGeometry(boolean is3DFile) |
String |
toFMapString(boolean is3DFile) |
String |
toString() |
void |
transform2Block(double[] bPoint,
Point2D insPoint,
double[] scale,
double rot,
List dwgObjectsWithoutBlocks,
Map handleObjWithoutBlocks,
DwgFile callBack) |
addReactorHandle, getAddress, getAvanzar, getColor, getExtendedData, getGeometrySubType, getGraphicData, getHandle, getIndex, getLayerHandle, getLinetypeFlags, getLineTypeHandle, getMode, getNextHandle, getNumReactors, getPlotstyleFlags, getPreviousHandle, getReactorsHandles, getSizeInBits, getSubEntityHandle, getType, getVersion, getXDicObjHandle, hasLayerHandle, hasLineTypeHandle, hasNextHandle, hasPlotStyleHandle, hasPreviousHandle, hasReactorsHandles, hasSubEntityHandle, hasXDicObjHandle, inserta, insertar, isGraphicsFlag, isLyrByLineType, isNoLinks, isXDicObjFlag, reactorsHandlesQuantity, setAddress, setAvanzar, setColor, setExtendedData, setGraphicData, setGraphicsFlag, setHandle, setLayerHandle, setLinetypeFlags, setLineTypeHandle, setLyrByLineType, setMode, setNextHandle, setNoLinks, setNumReactors, setPlotstyleFlags, setPlotStyleHandle, setPreviousHandle, setSizeInBits, setSubEntityHandle, setType, setVersion, setXDicObjFlag, setXDicObjHandle
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGeometrySubType
public void readDwgSolidV15(int[] data, int offset) throws Exception
data
- Array of unsigned bytes obtained from the DWG binary fileoffset
- The current bit offset where the value beginsException
- If an unexpected bit value is found in the DWG file. Occurs
when we are looking for LwPolylines.public double[] getCorner1()
public void setCorner1(double[] corner1)
corner1
- The corner1 to set.public double[] getCorner2()
public void setCorner2(double[] corner2)
corner2
- The corner2 to set.public double[] getCorner3()
public void setCorner3(double[] corner3)
corner3
- The corner3 to set.public double[] getCorner4()
public void setCorner4(double[] corner4)
corner4
- The corner4 to set.public double getElevation()
public void setElevation(double elevation)
elevation
- The elevation to set.public double[] getExtrusion()
public double getThickness()
public void setThickness(double thickness)
thickness
- The thickness to set.public void setExtrusion(double[] extrusion)
extrusion
- The extrusion to set.public void applyExtrussion()
applyExtrussion
in interface IDwgExtrusionable
public boolean has3DData()
has3DData
in interface IDwg3DTestable
public double getZ()
getZ
in interface IDwg3DTestable
public Geometry toFMapGeometry(boolean is3DFile) throws CreateGeometryException
toFMapGeometry
in interface IDwg2FMap
CreateGeometryException
public String toFMapString(boolean is3DFile)
toFMapString
in interface IDwg2FMap
public String toString()
public void transform2Block(double[] bPoint, Point2D insPoint, double[] scale, double rot, List dwgObjectsWithoutBlocks, Map handleObjWithoutBlocks, DwgFile callBack)
transform2Block
in interface IDwgBlockMember
public int getGeometryType()
getGeometryType
in interface IDwg2FMap