|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Provides access to members that control the simple 3D marker symbol origin.
The IMarker3DPlacement interface contains methods and properties which can be used to define the 3D placement of marker 3D symbols. The QueryRotationAngles and SetRotationAngles methods are used to get/set the rotation of the 3D marker symbol about the X, Y, and Z axis.
| Method Summary | |
void |
applyToPoint(IPoint inShape,
IGeometry[] outShape,
double enforcedZ,
double unitFactor,
double zScale)
Applies symbol construction to original shape. |
double |
getDepth()
The depth value. |
IVector3D |
getNormalizedOriginOffset()
Normalized offset vector defining the origin within the MBB relative to lower-left corner. |
IGeometry |
getShape()
Marker's shape. |
int |
getUnits()
The size units. |
double |
getWidth()
The width value. |
double |
getZOffset()
The Z offset value. |
boolean |
isMaintainAspectRatio()
Indicates if the marker maintains its dimensions based on size. |
void |
queryRotationAngles(double[] xAngle,
double[] yAngle,
double[] zAngle)
Gets the rotation angles for each axis. |
void |
setDepth(double depth)
The depth value. |
void |
setMaintainAspectRatio(boolean bAspectRatio)
Indicates if the marker maintains its dimensions based on size. |
void |
setNormalizedOriginOffsetByRef(IVector3D offset)
Normalized offset vector defining the origin within the MBB relative to lower-left corner. |
void |
setRotationAngles(double xAngle,
double yAngle,
double zAngle)
Sets the rotation angles for each axis. |
void |
setUnits(int unitsCode)
The size units. |
void |
setWidth(double width)
The width value. |
void |
setZOffset(double zOffset)
The Z offset value. |
| Methods inherited from interface com.esri.arcgis.display.IMarkerSymbol |
getAngle, getColor, getSize, getXOffset, getYOffset, setAngle, setColor, setSize, setXOffset, setYOffset |
| Method Detail |
public int getUnits()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setUnits(int unitsCode)
throws java.io.IOException,
AutomationException
unitsCode - A com.esri.arcgis.system.esriUnits constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IVector3D getNormalizedOriginOffset()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setNormalizedOriginOffsetByRef(IVector3D offset)
throws java.io.IOException,
AutomationException
offset - A reference to a com.esri.arcgis.geometry.IVector3D (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getZOffset()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setZOffset(double zOffset)
throws java.io.IOException,
AutomationException
zOffset - The zOffset (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGeometry getShape()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void applyToPoint(IPoint inShape,
IGeometry[] outShape,
double enforcedZ,
double unitFactor,
double zScale)
throws java.io.IOException,
AutomationException
The ApplyToPoint method is used to apply the 3D Marker symbol to a 3D point, thereby creating a georeferenced geometry for use elsewhere. Essentially, it allows you to generate a geometry using the marker symbol as a template. This can be useful, for example, when creating new features to be stored in the geodatabase. The geometry created is usually a multipatch, though it depends upon the 3D symbol being used.
This interface has been traditionally used for converting symbolized 2D feature classes into 3D multipatch feature classes. From 9.2, the Layer 3D to feature class geoprocessing tool can be used as an alternative.
The parameters of ApplyToPoint are:
This call will fail if the symbol is protected by IMarker3DSymbol.IsRestricted property.
inShape - A reference to a com.esri.arcgis.geometry.IPoint (in)outShape - A reference to a com.esri.arcgis.geometry.IGeometry (out: use single element array)enforcedZ - The enforcedZ (in, optional, pass -1.1E+38 if not required)unitFactor - The unitFactor (in, optional, pass 0 if not required)zScale - The zScale (in, optional, pass 1 if not required)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryRotationAngles(double[] xAngle,
double[] yAngle,
double[] zAngle)
throws java.io.IOException,
AutomationException
xAngle - The xAngle (out: use single element array)yAngle - The yAngle (out: use single element array)zAngle - The zAngle (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRotationAngles(double xAngle,
double yAngle,
double zAngle)
throws java.io.IOException,
AutomationException
xAngle - The xAngle (in)yAngle - The yAngle (in)zAngle - The zAngle (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getWidth()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setWidth(double width)
throws java.io.IOException,
AutomationException
width - The width (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getDepth()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDepth(double depth)
throws java.io.IOException,
AutomationException
depth - The depth (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isMaintainAspectRatio()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMaintainAspectRatio(boolean bAspectRatio)
throws java.io.IOException,
AutomationException
bAspectRatio - The bAspectRatio (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||