Interface ITinEdit
- Namespace
- ESRI.ArcGIS.Geodatabase
- Assembly
- ESRI.Server.Geodatabase.dll
Provides access to members that control TIN editing.
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("6615635A-BFAB-11D2-9F6D-00C04F8ECE27")]
public interface ITinEdit
Properties
IsDirty
Indicates if the TIN is dirty.
bool IsDirty { get; }
Property Value
IsEditable
Indicates if the TIN can be edited.
bool IsEditable { get; }
Property Value
IsInEditMode
Indicates if the TIN is in edit mode.
bool IsInEditMode { get; }
Property Value
Methods
AddFromFeatureClass(IFeatureClass, IQueryFilter, IField, IField, esriTinSurfaceType, ref object)
Adds features from a feature class to the TIN.
void AddFromFeatureClass(IFeatureClass pFeatureClass, IQueryFilter pFilter, IField pHeightField, IField pTagValueField, esriTinSurfaceType Type, ref object pbUseShapeZ)
Parameters
pFeatureClassIFeatureClasspFilterIQueryFilterpHeightFieldIFieldpTagValueFieldIFieldTypeesriTinSurfaceTypepbUseShapeZobject
AddFromFeatureCursor(IFeatureCursor, IField, IField, esriTinSurfaceType, ref object)
Adds features from a feature cursor to the TIN.
void AddFromFeatureCursor(IFeatureCursor pCursor, IField pHeightField, IField pTagValueField, esriTinSurfaceType Type, ref object pbUseShapeZ)
Parameters
pCursorIFeatureCursorpHeightFieldIFieldpTagValueFieldIFieldTypeesriTinSurfaceTypepbUseShapeZobject
AddFromPixelBlock(double, double, double, double, object, object, double, ref object, out object)
Adds pixels from a pixel block to the TIN.
void AddFromPixelBlock(double xOrigin, double yOrigin, double xPixelSize, double yPixelSize, object valueForNoData, object block, double ZTolerance, ref object pMaxPoints, out object pbToleranceAchieved)
Parameters
xOrigindoubleyOrigindoublexPixelSizedoubleyPixelSizedoublevalueForNoDataobjectblockobjectZTolerancedoublepMaxPointsobjectpbToleranceAchievedobject
AddPointZ(IPoint, int)
Adds a 3D point to the TIN.
int AddPointZ(IPoint pPoint, int TagValue)
Parameters
Returns
AddShape(IGeometry, esriTinSurfaceType, int, ref object)
Adds a 2D shape to the TIN.
void AddShape(IGeometry pShape, esriTinSurfaceType Type, int TagValue, ref object pZ)
Parameters
pShapeIGeometryTypeesriTinSurfaceTypeTagValueintpZobject
AddShapeZ(IGeometry, esriTinSurfaceType, int, ref object)
Adds a 3D shape to the TIN.
void AddShapeZ(IGeometry pShape, esriTinSurfaceType Type, int TagValue, ref object pbUseShapeZ)
Parameters
pShapeIGeometryTypeesriTinSurfaceTypeTagValueintpbUseShapeZobject
AddWKSPointZ(ref WKSPointZ, int)
Adds a well known structure point to the TIN.
int AddWKSPointZ(ref WKSPointZ pPoint, int vlue)
Parameters
Returns
DeleteEdgeTagValues()
Deletes all edge tag values in the TIN.
void DeleteEdgeTagValues()
DeleteNode(int)
Deletes a specified node from the TIN.
void DeleteNode(int Index)
Parameters
Indexint
DeleteNodeTagValues()
Deletes all node tag values in the TIN.
void DeleteNodeTagValues()
DeleteNodesOutsideDataArea()
Deletes all nodes from outside the TIN interpolation zone.
void DeleteNodesOutsideDataArea()
DeleteSelectedNodes()
Deletes specified nodes from the TIN.
void DeleteSelectedNodes()
DeleteTriangleTagValues()
Deletes all triangle face tag values in the TIN.
void DeleteTriangleTagValues()
InitNew(IEnvelope)
Initializes a new TIN using the passed extent to define the data area.
void InitNew(IEnvelope pExtent)
Parameters
pExtentIEnvelope
PropagateTriangleTagValue(ITinTriangle, int, bool)
Propagates triangle tag value changes to all immediate triangles with the same initial value.
void PropagateTriangleTagValue(ITinTriangle pSeed, int newTagValue, bool bStopAtEnforcedEdge)
Parameters
pSeedITinTrianglenewTagValueintbStopAtEnforcedEdgebool
Refresh()
Updates TIN's extents, data area, and data elements count.
void Refresh()
Save()
Saves edits to disk.
void Save()
SaveAs(string, ref object)
Saves the TIN to disk using the specified name.
void SaveAs(string newName, ref object pOverWrite)
Parameters
SetEdgeTagValue(int, int)
Sets the tag value of the triangle edge referenced by the index.
void SetEdgeTagValue(int Index, int Value)
Parameters
SetEdgeType(int, esriTinEdgeType)
Sets the type of the triangle edge referenced by the TIN.
void SetEdgeType(int Index, esriTinEdgeType Type)
Parameters
IndexintTypeesriTinEdgeType
SetNodeTagValue(int, int)
Sets the tag value of a TIN node referenced by the index.
void SetNodeTagValue(int Index, int Value)
Parameters
SetNodeZ(int, double)
Sets the z value of a TIN node referenced by the index.
void SetNodeZ(int Index, double Z)
Parameters
SetSpatialReference(ISpatialReference)
Set a copy of the specified spatial reference to the TIN.
void SetSpatialReference(ISpatialReference pSpatialReference)
Parameters
pSpatialReferenceISpatialReference
SetTriangleInsideDataArea(int)
Sets a triangle within the TIN interpolation zone.
void SetTriangleInsideDataArea(int Index)
Parameters
Indexint
SetTriangleOutsideDataArea(int)
Sets a triangle outside of the TIN interpolation zone.
void SetTriangleOutsideDataArea(int Index)
Parameters
Indexint
SetTriangleTagValue(int, int)
Sets the face tag value of the triangle referenced by the index.
void SetTriangleTagValue(int Index, int Value)
Parameters
SetTrianglesInsideDataArea()
Sets all triangles within the TIN interpolation zone.
void SetTrianglesInsideDataArea()
StartEditing()
Initiates edit mode.
bool StartEditing()
Returns
StopEditing(bool)
Terminates edit mode, optionally saving changes to disk.
bool StopEditing(bool bSaveEdits)
Parameters
bSaveEditsbool