| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.carto.DimensionShape
public class DimensionShape
A dimension shape associated with a dimesion feature.
The DimensionShape coclass stores the geometry for a DimensionFeature.
The DimensionShape coclass stores points for a dimension’s measurements. The DimensionFeature and DimensionGraphic use DimensionShapes to draw and store DimensionFeatures.
| Constructor Summary | |
|---|---|
| DimensionShape()Constructs a DimensionShape using ArcGIS Engine. | |
| DimensionShape(Object obj)Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.  DimensionShape theDimensionShape = (DimensionShape) obj; | |
| Method Summary | |
|---|---|
|  void | assign(IClone src)Assigns the properties of src to the receiver. | 
|  boolean | equals(Object o)Compare this object with another | 
|  IClone | esri_clone()Clones the receiver and assigns the result to *clone. | 
|  IPoint | getBeginDimensionPoint()The begin dimension point. | 
|  void | getClassID(GUID[] pClassID)getClassID | 
| static String | getClsid()getClsid. | 
|  IPoint | getDimensionLinePoint()The point which describes the height of the dimension line. | 
|  IPoint | getEndDimensionPoint()The end dimension point. | 
|  double | getExtensionLineAngle()The angle of the extension lines in radians. | 
|  void | getSizeMax(_ULARGE_INTEGER[] pcbSize)getSizeMax | 
|  double | getTextAngle()The angle of the text in radians. | 
|  IPoint | getTextPoint()The point for the text placement. | 
|  int | hashCode()the hashcode for this object | 
|  void | isDirty()isDirty | 
|  boolean | isEqual(IClone other)Indicates if the receiver and other have the same properties. | 
|  boolean | isIdentical(IClone other)Indicates if the receiver and other are the same object. | 
|  void | load(IStream pstm)load | 
|  void | move(double dx,
     double dy)Moves dx units horizontally and dy units vertically. | 
|  void | moveVector(ILine v)Moves a direction and distance v. | 
|  void | readExternal(ObjectInput in) | 
|  void | rotate(IPoint origin,
       double rotationAngle)Rotates about the specified origin point. | 
|  void | save(IStream pstm,
     int fClearDirty)save | 
|  void | scale(IPoint origin,
      double sx,
      double sy)Scales about the specified origin using seperate horizonal and vertical scales. | 
|  void | setBeginDimensionPointByRef(IPoint point)The begin dimension point. | 
|  void | setDimensionLinePointByRef(IPoint point)The point which describes the height of the dimension line. | 
|  void | setEndDimensionPointByRef(IPoint point)The end dimension point. | 
|  void | setExtensionLineAngle(double angle)The angle of the extension lines in radians. | 
|  void | setTextAngle(double angle)The angle of the text in radians. | 
|  void | setTextPointByRef(IPoint point)The point for the text placement. | 
|  void | transform(int direction,
          ITransformation transformation)Applies an arbitrary transformation. | 
|  void | writeExternal(ObjectOutput out) | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef | 
|---|
| getJintegraDispatch, release | 
| Constructor Detail | 
|---|
public DimensionShape()
               throws IOException,
                      UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public DimensionShape(Object obj)
               throws IOException
 DimensionShape theDimensionShape = (DimensionShape) obj;
obj to DimensionShape.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail | 
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public void setBeginDimensionPointByRef(IPoint point)
                                 throws IOException,
                                        AutomationException
The BeginDimensionPoint and EndDimensionPoint properties define the Dimension’s measurement points.
setBeginDimensionPointByRef in interface IDimensionShapepoint - A reference to a com.esri.arcgis.geometry.IPoint  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPoint getBeginDimensionPoint()
                              throws IOException,
                                     AutomationException
The BeginDimensionPoint and EndDimensionPoint properties define the Dimension’s measurement points.
getBeginDimensionPoint in interface IDimensionShapeIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setEndDimensionPointByRef(IPoint point)
                               throws IOException,
                                      AutomationException
The BeginDimensionPoint and EndDimensionPoint properties define the Dimension’s measurement points.
setEndDimensionPointByRef in interface IDimensionShapepoint - A reference to a com.esri.arcgis.geometry.IPoint  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPoint getEndDimensionPoint()
                            throws IOException,
                                   AutomationException
The BeginDimensionPoint and EndDimensionPoint properties define the Dimension’s measurement points.
getEndDimensionPoint in interface IDimensionShapeIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPoint getDimensionLinePoint()
                             throws IOException,
                                    AutomationException
The DimensionLinePoint property determines the height of the dimension line above the baseline. To create a two point dimension, the DimensionLinePoint must be the same value as the BeginDimensionPoint.
getDimensionLinePoint in interface IDimensionShapeIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDimensionLinePointByRef(IPoint point)
                                throws IOException,
                                       AutomationException
The DimensionLinePoint property determines the height of the dimension line above the baseline. To create a two point dimension, the DimensionLinePoint must be the same value as the BeginDimensionPoint.
setDimensionLinePointByRef in interface IDimensionShapepoint - A reference to a com.esri.arcgis.geometry.IPoint  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPoint getTextPoint()
                    throws IOException,
                           AutomationException
The DimensionShape supports a custom text location using the TextPoint property. For the default location of the dimension text, the TextPoint’s IGeometry::IsEmpty property should be True.
getTextPoint in interface IDimensionShapeIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTextPointByRef(IPoint point)
                       throws IOException,
                              AutomationException
The DimensionShape supports a custom text location using the TextPoint property. For the default location of the dimension text, the TextPoint’s IGeometry::IsEmpty property should be True.
setTextPointByRef in interface IDimensionShapepoint - A reference to a com.esri.arcgis.geometry.IPoint  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getExtensionLineAngle()
                             throws IOException,
                                    AutomationException
The ExtensionLineAngle property defines the angle between the dimension line and the extension line in degrees. This default angle is 90 degrees. Oblique dimensions have angles less than or greater than 90 degrees.
getExtensionLineAngle in interface IDimensionShapeIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setExtensionLineAngle(double angle)
                           throws IOException,
                                  AutomationException
The ExtensionLineAngle property defines the angle between the dimension line and the extension line in degrees. This default angle is 90 degrees. Oblique dimensions have angles less than or greater than 90 degrees.
setExtensionLineAngle in interface IDimensionShapeangle - The angle  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getTextAngle()
                    throws IOException,
                           AutomationException
getTextAngle in interface IDimensionShapeIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTextAngle(double angle)
                  throws IOException,
                         AutomationException
setTextAngle in interface IDimensionShapeangle - The angle  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IClone esri_clone()
                  throws IOException,
                         AutomationException
esri_clone in interface ICloneIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void assign(IClone src)
            throws IOException,
                   AutomationException
assign in interface IClonesrc - A reference to a com.esri.arcgis.system.IClone  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isEqual(IClone other)
                throws IOException,
                       AutomationException
IsEqual returns True if the receiver and the source have the same properties. Note, this does not imply that the receiver and the source reference the same object.
isEqual in interface ICloneother - A reference to a com.esri.arcgis.system.IClone  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isIdentical(IClone other)
                    throws IOException,
                           AutomationException
IsIdentical returns true if the receiver and the source reference the same object.
isIdentical in interface ICloneother - A reference to a com.esri.arcgis.system.IClone  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getClassID(GUID[] pClassID)
                throws IOException,
                       AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID  (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
             throws IOException,
                    AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty in interface IPersistStreamIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
          throws IOException,
                 AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void save(IStream pstm,
                 int fClearDirty)
          throws IOException,
                 AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream  (in)fClearDirty - The fClearDirty  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
                throws IOException,
                       AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER  (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void move(double dx,
                 double dy)
          throws IOException,
                 AutomationException
Moves the Geometry dX units along the X-Axis and dY units along the Y-Axis. Only changes the position of the Geometry without altering any of the other characteristics. Move is a spatial offset.

move in interface ITransform2Ddx - The dx  (in)dy - The dy  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void moveVector(ILine v)
                throws IOException,
                       AutomationException
Moves the Geometry dX units along the X-Axis and dY units along the Y-Axis, where dX and dY are calculated from the input vector Line. Only the Length and Angle of the vector affect the transformation. The location of the vector does not change the transformation. Only changes the position of the Geometry without altering any of the other characteristics. Move is a spatial offset.

moveVector in interface ITransform2Dv - A reference to a com.esri.arcgis.geometry.ILine  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void scale(IPoint origin,
                  double sx,
                  double sy)
           throws IOException,
                  AutomationException
Stretches the Geometry a factor of sX along the X-Axis and a factor of sY along the Y-Axis (where sX is the ratio of Old Width to New Width, and sY is the ratio of Old Height to New Height). The Origin point is the reference Point from which the transformation is performed (Regardless of the location of the Origin point, the Geometry resulting from the transformation is the same, except for a positional offset). The Origin is the only point in the transformation guaranted to remain in the same location after the transformation is complete.
Note: Caution must be taken when scaling a CircularArc or a geometry containing CircularArc segments. Unless Abs(ScaleX) = Abs(ScaleY), the resulting CircularArcs will not retain the characteristics of the original geometry (since they remain CircularArcs).

scale in interface ITransform2Dorigin - A reference to a com.esri.arcgis.geometry.IPoint  (in)sx - The sx  (in)sy - The sy  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void rotate(IPoint origin,
                   double rotationAngle)
            throws IOException,
                   AutomationException
Rotate performs an angular transform (rotation) on the Geometry. The Origin is the only point in the transformation guaranteed to remain in the same location after the transformation is performed. Regardless of the Origin, the transformed Geometry is the same, except for a positional offset. The RotationAngle is measured in radians.
An Envelope cannot be Rotated.

rotate in interface ITransform2Dorigin - A reference to a com.esri.arcgis.geometry.IPoint  (in)rotationAngle - The rotationAngle  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void transform(int direction,
                      ITransformation transformation)
               throws IOException,
                      AutomationException
transform in interface ITransform2Ddirection - A com.esri.arcgis.geometry.esriTransformDirection constant  (in)transformation - A reference to a com.esri.arcgis.geometry.ITransformation  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(ObjectOutput out)
                   throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||