This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Cadastral > ESRI.ArcGIS.Cadastral > Interfaces > IC > ICadastralTransformation Interface (ArcObjects .NET 10.4 SDK) |
Provides access to Cadastral Transformation interface, used to coordinate the feature adjustment process.
Description | ||
---|---|---|
CadastralFabric | The Cadastral Fabric containing the adjustment vectors etc. | |
CadastralTransformationData | The transformation data for adjusting feature classes associated with the cadastral fabric. | |
Transform | Main Adjustment process. |
CoClasses and Classes | Description |
---|---|
CadastralTransformation | CadastralTransformation CoClass used to apply cadastral transformations to feature geometries. |
Used to trigger Cadastral Adjustments held within a Cadastral Fabric on feature classes associated with that Cadastral Fabric.
The ICadastralTransformation interface on the CadastralTransformation coclass can be used to apply adjustments held within a cadastral fabric to feature classes. Any feature class which is to be adjusted must already have been associated with a cadastral fabric and been given an initial adjustment level using the CadastralAdjustmentLevel coclass.
The feature classes to be adjusted and their target adjustment levels are specified using a CadastralTransformationData object which must be cocreated, populated via the ICadastralTransformationData interface and associated with the CadastralTransformation object using the put_CadastralTransformationData method. The cadastral fabric holding the adjustments to be applied must also be associated with the CadastralTransformation object via the put_CadastralFabric method.
Once the CadastralTransformationData and CadastralFabric have been specified, the Transform method is used to trigger the adjustments. Each feature class specified is adjusted up to its target adjustment level (or the highest avialable adjustment level if this is lower) from the level already stored for that feature class in the adjustment level table. Once adjusted, the adjustment level table is ammended to reflect the new level. Any feature classes which are not associated with the given cadastral fabric will be ignored.
Feature classes and their corresponding target adjustment levels are added to the CadastralTransformationData object by calling the AddData method, specifying the feature class name via an IName interface, and the target adjustment level. Specifying a feature class which has already been added will replace the older entry with the newer one. The get_TransDataCount method can be used to retrieve the number of feature classes which have been added to the CadastralTransformationData object. The added data can be retrieved using the GetData method, using an index to specify the data pair to be retrieved. The Clear method can be used to remove all data from the CadastralTransformationData object.