|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMarker3DPlacement
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 |
---|
int getUnits() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setUnits(int unitsCode) throws IOException, AutomationException
unitsCode
- A com.esri.arcgis.system.esriUnits constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IVector3D getNormalizedOriginOffset() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setNormalizedOriginOffsetByRef(IVector3D offset) throws IOException, AutomationException
offset
- A reference to a com.esri.arcgis.geometry.IVector3D (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getZOffset() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setZOffset(double zOffset) throws IOException, AutomationException
zOffset
- The zOffset (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGeometry getShape() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void applyToPoint(IPoint inShape, IGeometry[] outShape, double enforcedZ, double unitFactor, double zScale) throws 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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void queryRotationAngles(double[] xAngle, double[] yAngle, double[] zAngle) throws 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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setRotationAngles(double xAngle, double yAngle, double zAngle) throws IOException, AutomationException
xAngle
- The xAngle (in)yAngle
- The yAngle (in)zAngle
- The zAngle (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getWidth() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setWidth(double width) throws IOException, AutomationException
width
- The width (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getDepth() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDepth(double depth) throws IOException, AutomationException
depth
- The depth (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isMaintainAspectRatio() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setMaintainAspectRatio(boolean bAspectRatio) throws IOException, AutomationException
bAspectRatio
- The bAspectRatio (in)
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 |