public class DwgInsert extends DwgObject implements IDwgExtrusionable, IDwg3DTestable, 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 |
---|
DwgInsert(int index) |
Modifier and Type | Method and Description |
---|---|
void |
addOwnedObjectHandle(DwgHandleReference handle)
Add a handle to the ownedBbjectsHandle vector
|
void |
applyExtrussion() |
java.lang.Object |
clone() |
void |
dump() |
protected void |
fill(DwgObject obj) |
DwgHandleReference |
getBlockHeaderHandle() |
double[] |
getExtrusion() |
DwgHandleReference |
getFirstAttribHandle() |
int |
getGeometryType() |
double[] |
getInsertionPoint() |
DwgHandleReference |
getLastAttribHandle() |
java.util.ArrayList |
getOwnedObjectsHandles() |
double |
getRotation() |
double[] |
getScale() |
DwgHandleReference |
getSeqendHandle() |
double |
getZ() |
boolean |
has3DData() |
boolean |
isProcessed() |
void |
setBlockHeaderHandle(DwgHandleReference blockHeaderHandle) |
void |
setExtrusion(double[] extrusion) |
void |
setFirstAttribHandle(DwgHandleReference firstAttribHandle) |
void |
setInsertionPoint(double[] insertionPoint) |
void |
setLastAttribHandle(DwgHandleReference lastAttribHandle) |
void |
setOwnedObjectsHandles(java.util.ArrayList handles) |
void |
setProcessed(boolean processed) |
void |
setRotation(double rotation) |
void |
setScale(double[] scale) |
void |
setSeqendHandle(DwgHandleReference seqendHandle) |
Geometry |
toFMapGeometry(boolean is3DFile) |
java.lang.String |
toFMapString(boolean is3DFile) |
java.lang.String |
toString() |
void |
transform2Block(double[] bPoint,
java.awt.geom.Point2D insPoint,
double[] scale,
double rot,
java.util.List dwgObjectsWithoutBlocks,
java.util.Map handle_objWithoutBlocks,
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
public void dump()
public DwgHandleReference getBlockHeaderHandle()
public void setBlockHeaderHandle(DwgHandleReference blockHeaderHandle)
blockHeaderHandle
- The blockHeaderHandle to set.public DwgHandleReference getFirstAttribHandle()
public void setFirstAttribHandle(DwgHandleReference firstAttribHandle)
firstAttribHandle
- The firstAttribHandle to set.public double[] getInsertionPoint()
public void setInsertionPoint(double[] insertionPoint)
insertionPoint
- The insertionPoint to set.public DwgHandleReference getLastAttribHandle()
public void setLastAttribHandle(DwgHandleReference lastAttribHandle)
lastAttribHandle
- The lastAttribHandle to set.public double getRotation()
public void setRotation(double rotation)
rotation
- The rotation to set.public double[] getScale()
public void setScale(double[] scale)
scale
- The scale to set.public double[] getExtrusion()
public void setExtrusion(double[] extrusion)
extrusion
- The extrusion to set.public DwgHandleReference getSeqendHandle()
public void setSeqendHandle(DwgHandleReference seqendHandle)
seqendHandle
- The seqendHandle to set.public java.util.ArrayList getOwnedObjectsHandles()
public void setOwnedObjectsHandles(java.util.ArrayList handles)
objects
- The owned objects handles to set.public void addOwnedObjectHandle(DwgHandleReference handle)
handle
- handlepublic 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
CreateGeometryException
public java.lang.String toFMapString(boolean is3DFile)
public java.lang.String toString()
toString
in class java.lang.Object
public void transform2Block(double[] bPoint, java.awt.geom.Point2D insPoint, double[] scale, double rot, java.util.List dwgObjectsWithoutBlocks, java.util.Map handle_objWithoutBlocks, DwgFile callBack)
transform2Block
in interface IDwgBlockMember
public boolean isProcessed()
public void setProcessed(boolean processed)
public int getGeometryType()