|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.formats.dxf.DxfEntity
com.partnersoft.formats.dxf.DxfInsert
public class DxfInsert
A DXF INSERT entity. An INSERT is a specific instance of a BLOCK placed at a point in 3D space with rotation and other factors, and with associated attribute values.
Primary reference is pages 77-78 of AutoCAD 2007 DXF Reference, available from the AutoDesk website.
Copyright 2000-2006 Partner Software, Inc.
| Constructor Summary | |
|---|---|
DxfInsert()
|
|
| Method Summary | |
|---|---|
boolean |
getAttributesFollow()
Attributes follow, code 66, optional, default false. |
java.lang.String |
getBlock()
Block name, code 2, no default. |
int |
getColumnCount()
Column count, code 70, optional, default 1. |
double |
getColumnSpacing()
Column spacing, code 44, optional, default 0. |
double |
getExtrusionX()
Extrusion direction X, group 210, optional, default 0. |
double |
getExtrusionY()
Extrusion direction Y, group 220, optional, default 0. |
double |
getExtrusionZ()
Extrusion direction Z, group 230, optional, default 1. |
java.util.List<DxfGroup> |
getGroups(DxfVersion version)
Get the internal state as DXFGroups. |
double |
getRotation()
Rotation angle, code 50, optional, default 0. |
int |
getRowCount()
Row count, code 71, optional, default 1. |
double |
getRowSpacing()
Row spacing, code 45, optional, default 0. |
double |
getScaleX()
X scale factor, code 41, optional, default = 1. |
double |
getScaleY()
Y scale factor, code 42, optional, default = 1. |
double |
getScaleZ()
Z scale factor, code 43, optional, default = 1. |
java.lang.String |
getType()
The type name of this structure. |
double |
getX()
Insertion point X, code 10, no default. |
double |
getY()
Insertion point Y, code 20, no default. |
double |
getZ()
Insertion point Z, code 30, no default. |
void |
setAttributesFollow(boolean attributesFollow)
|
void |
setBlock(java.lang.String block)
|
void |
setColumnCount(int columnCount)
|
void |
setColumnSpacing(double columnSpacing)
|
void |
setExtrusionX(double extrusionX)
|
void |
setExtrusionY(double extrusionY)
|
void |
setExtrusionZ(double extrusionZ)
|
void |
setGroups(java.util.List<DxfGroup> groups)
Set the internal state based on the given groups. |
void |
setRotation(double rotation)
|
void |
setRowCount(int rowCount)
|
void |
setRowSpacing(double rowSpacing)
|
void |
setScaleX(double scaleX)
|
void |
setScaleY(double scaleY)
|
void |
setScaleZ(double scaleZ)
|
void |
setX(double x)
|
void |
setY(double y)
|
void |
setZ(double z)
|
java.lang.String |
toString()
|
| Methods inherited from class com.partnersoft.formats.dxf.DxfEntity |
|---|
getApplicationDefinedStructures, getColor, getColorName, getHandle, getLayer, getLinetype, getLinetypeScale, getLineWeight, getMaterial, getOwnerHandle, getPlotStyle, getProxyEntityGraphics, getRgbColor, getShadowMode, getTransparency, isInvisible, isPaperSpace, setApplicationDefinedStructures, setColor, setColorName, setHandle, setInvisible, setLayer, setLinetype, setLinetypeScale, setLineWeight, setMaterial, setOwnerHandle, setPaperSpace, setPlotStyle, setProxyEntityGraphics, setRgbColor, setShadowMode, setTransparency |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DxfInsert()
| Method Detail |
|---|
public java.lang.String getType()
DxfStructure
\/**
* Type name of this structure. Always returns "POINT".
* \@return "POINT"
*\/
public String getType() {
return "POINT";
}
getType in interface DxfStructuregetType in class DxfEntitypublic java.util.List<DxfGroup> getGroups(DxfVersion version)
DxfStructure
getGroups in interface DxfStructuregetGroups in class DxfEntitypublic void setGroups(java.util.List<DxfGroup> groups)
DxfStructure
setGroups in interface DxfStructuresetGroups in class DxfEntitygroups - list of groups containing data for this structurepublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean getAttributesFollow()
If true, this ATTRIB entity should be followed by one or more ATTRIB entities and a terminating SEQEND.
public void setAttributesFollow(boolean attributesFollow)
public java.lang.String getBlock()
public void setBlock(java.lang.String block)
public int getColumnCount()
public void setColumnCount(int columnCount)
public double getColumnSpacing()
public void setColumnSpacing(double columnSpacing)
public double getExtrusionX()
public void setExtrusionX(double extrusionX)
public double getExtrusionY()
public void setExtrusionY(double extrusionY)
public double getExtrusionZ()
public void setExtrusionZ(double extrusionZ)
public double getRotation()
public void setRotation(double rotation)
public int getRowCount()
public void setRowCount(int rowCount)
public double getRowSpacing()
public void setRowSpacing(double rowSpacing)
public double getScaleX()
public void setScaleX(double scaleX)
public double getScaleY()
public void setScaleY(double scaleY)
public double getScaleZ()
public void setScaleZ(double scaleZ)
public double getX()
public void setX(double x)
public double getY()
public void setY(double y)
public double getZ()
public void setZ(double z)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||