|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITransform3D
Provides access to methods for transforming 3D geometries using either specific parameters or arbitrary transformation objects.
These methods are intended to be called against top-level geometries only (Point, Polyline, Polygon, MultiPatch). To call a method against a Segment/Path or Ring, first add the part to a Polyline or Polygon container, respectively, and then call the appropriate method against the container.
Method Summary | |
---|---|
void |
move3D(double dx,
double dy,
double dz)
Moves the object by dx, dy and dz along the x, y, and z axes respectively. |
void |
moveVector3D(IVector3D v)
Moves the object by an offset defined by a 3D vector. |
IGeometry |
projectToPlane(IPoint planarOrigin,
IVector3D planarPositiveX,
IVector3D planarNorm)
Generates a polygon footprint for the object in an arbitrary plane. |
void |
rotateVector3D(IVector3D axis,
double rotationAngle)
Rotates the object about axis defined by the specified vector through an angle measured in radians. |
void |
scale3D(IPoint origin,
double sx,
double sy,
double sz)
Scales the object about the specified origin point. |
void |
transform3D(int direction,
ITransformation3D transformation)
Applies an arbitrary 3D transformation. |
Method Detail |
---|
void move3D(double dx, double dy, double dz) throws IOException, AutomationException
dx
- The dx (in)dy
- The dy (in)dz
- The dz (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void moveVector3D(IVector3D v) throws IOException, AutomationException
v
- A reference to a com.esri.arcgis.geometry.IVector3D (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void scale3D(IPoint origin, double sx, double sy, double sz) throws IOException, AutomationException
origin
- A reference to a com.esri.arcgis.geometry.IPoint (in)sx
- The sx (in)sy
- The sy (in)sz
- The sz (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void rotateVector3D(IVector3D axis, double rotationAngle) throws IOException, AutomationException
The angle of rotation must be in radians. To convert to radians from decimal degrees, multiply by PI/180.
axis
- A reference to a com.esri.arcgis.geometry.IVector3D (in)rotationAngle
- The rotationAngle (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void transform3D(int direction, ITransformation3D transformation) throws IOException, AutomationException
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)transformation
- A reference to a com.esri.arcgis.geometry.ITransformation3D (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGeometry projectToPlane(IPoint planarOrigin, IVector3D planarPositiveX, IVector3D planarNorm) throws IOException, AutomationException
planarOrigin
- A reference to a com.esri.arcgis.geometry.IPoint (in)planarPositiveX
- A reference to a com.esri.arcgis.geometry.IVector3D (in)planarNorm
- A reference to a com.esri.arcgis.geometry.IVector3D (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 |