public interface IAffineTransformation2D extends ITransformation, java.io.Serializable
Description: 'Provides access to members that define and manipulate affine transformations.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
IID
Deprecated.
Internal use only
|
static int |
IIDd12f81b4_d263_11d2_9f29_00c04f6bdd7f |
static int |
xxDummy
Deprecated.
Internal use only
|
IID6f2cf924_7e00_11d0_82f4_0000f8034032
Modifier and Type | Method and Description |
---|---|
void |
defineFromControlPoints(int numPoints,
IPoint fromPoints,
IPoint toPoints)
Defines the best affine transformation between two sets of points.
|
void |
defineFromEnvelopes(IEnvelope from,
IEnvelope to)
Defines a transformation that maps a point relative to one envelope to a similar position relative to another envelope.
|
void |
defineFromEnvelopesEx(IEnvelope from,
IEnvelope to,
IEnvelope outFrom,
boolean assumeFalseOrigin,
boolean keepAspect,
boolean flipIt)
Defines a transformation that maps a point relative to one envelope to a similar position relative to another envelope.
|
void |
defineReflection(ILine l)
Defines a transformation that can perform a reflection about the line l.
|
void |
getControlPointError(int i,
double[] fromError,
double[] toError)
Returns the errors involved in moving control point i from the 'from' to 'to' system.
|
void |
getRMSError(double[] fromError,
double[] toError)
RMS (Root Mean Square) error expressed relative to the 'from' and 'to' points defining the transformation.
|
double |
getRotation()
The rotation angle.
|
ISpatialReference |
getSpatialReference()
The spatial reference in which this transformation is meaningful.
|
double |
getXScale()
The scale along the X axis.
|
double |
getXTranslation()
The translation along the X axis.
|
double |
getYScale()
The scale along the Y axis.
|
double |
getYTranslation()
The translation along the Y axis.
|
boolean |
isReflective()
Indicates if the transformation contains a reflection (determinant is negative).
|
void |
move(double dx,
double dy)
Incorporates a translation factor into the transformation.
|
void |
moveVector(ILine movementVector)
Performs an X and Y translation defined by a 2D vector.
|
void |
postMultiply(IAffineTransformation2D postTransform)
Post-multiplies the transformation by another transformation.
|
void |
preMultiply(IAffineTransformation2D preTransform)
Pre-multiplies the transformation by another transformation.
|
void |
project(ISpatialReference newSpatialReference)
Moves this transformation into another spatial reference.
|
void |
reset()
Resets the tranformation.
|
void |
rotate(double da)
Incorporates a rotation (in radians) into the transformation.
|
void |
scale(double dx,
double dy)
Incorporates scale factors into the transformation.
|
void |
setMoveOrigin(IPoint rhs1)
The origin of accumulated transformations used when projecting an affine transformation to a different spatial reference system.
|
void |
setSpatialReferenceByRef(ISpatialReference sR)
The spatial reference in which this transformation is meaningful.
|
transformMeasuresFF, transformMeasuresFI, transformMeasuresIF, transformMeasuresII, transformPointsFF, transformPointsFI, transformPointsIF, transformPointsII
static final int IIDd12f81b4_d263_11d2_9f29_00c04f6bdd7f
static final int xxDummy
static final java.lang.String IID
void setSpatialReferenceByRef(ISpatialReference sR) throws java.io.IOException, AutomationException
sR
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.ISpatialReference getSpatialReference() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void reset() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void defineFromControlPoints(int numPoints, IPoint fromPoints, IPoint toPoints) throws java.io.IOException, AutomationException
numPoints
- The numPoints (in)fromPoints
- A reference to a com.esri.arcgis.geometry.IPoint (in)toPoints
- A reference to a com.esri.arcgis.geometry.IPoint (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void defineFromEnvelopes(IEnvelope from, IEnvelope to) throws java.io.IOException, AutomationException
from
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)to
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void defineFromEnvelopesEx(IEnvelope from, IEnvelope to, IEnvelope outFrom, boolean assumeFalseOrigin, boolean keepAspect, boolean flipIt) throws java.io.IOException, AutomationException
from
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)to
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)outFrom
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)assumeFalseOrigin
- The assumeFalseOrigin (in)keepAspect
- The keepAspect (in)flipIt
- The flipIt (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void defineReflection(ILine l) throws java.io.IOException, AutomationException
l
- A reference to a com.esri.arcgis.geometry.ILine (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void getRMSError(double[] fromError, double[] toError) throws java.io.IOException, AutomationException
fromError
- The fromError (out: use single element array)toError
- The toError (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void getControlPointError(int i, double[] fromError, double[] toError) throws java.io.IOException, AutomationException
i
- The i (in)fromError
- The fromError (out: use single element array)toError
- The toError (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.double getXScale() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.double getYScale() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.double getXTranslation() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.double getYTranslation() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.double getRotation() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void scale(double dx, double dy) throws java.io.IOException, AutomationException
dx
- The dx (in)dy
- The dy (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void setMoveOrigin(IPoint rhs1) throws java.io.IOException, AutomationException
rhs1
- A reference to a com.esri.arcgis.geometry.IPoint (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void moveVector(ILine movementVector) throws java.io.IOException, AutomationException
movementVector
- A reference to a com.esri.arcgis.geometry.ILine (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void move(double dx, double dy) throws java.io.IOException, AutomationException
dx
- The dx (in)dy
- The dy (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void rotate(double da) throws java.io.IOException, AutomationException
da
- The da (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void postMultiply(IAffineTransformation2D postTransform) throws java.io.IOException, AutomationException
postTransform
- A reference to a com.esri.arcgis.geometry.IAffineTransformation2D (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void preMultiply(IAffineTransformation2D preTransform) throws java.io.IOException, AutomationException
preTransform
- A reference to a com.esri.arcgis.geometry.IAffineTransformation2D (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean isReflective() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void project(ISpatialReference newSpatialReference) throws java.io.IOException, AutomationException
newSpatialReference
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.