Interface ITinFeatureEdit
- Namespace
- ESRI.ArcGIS.Geodatabase
- Assembly
- ESRI.Server.Geodatabase.dll
Provides access to methods that control TIN 'features'.
[Guid("73B80FC1-FF33-11D1-A549-0000F8774F0F")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface ITinFeatureEdit
Properties
ElementsIgnoredInConflictTest
The TIN nodes or edges to be ignored in conflict detection (used by processes such as CanAdd and CanMove).
int ElementsIgnoredInConflictTest { get; set; }
Property Value
IsInMemoryEditMode
Indicates if the specified TIN is in in-memory-edit mode.
bool IsInMemoryEditMode { get; }
Property Value
StopAtEnforcedEdge
Indicates if a polygon related process (e.g., ExtractPolygon) should stop when reach an enforced edge.
bool StopAtEnforcedEdge { get; set; }
Property Value
StopAtJuncture
Indicates if a polyline related process (e.g., ExtractPolyline) should stop at juncture.
bool StopAtJuncture { get; set; }
Property Value
Methods
AddPointZ(IPoint, int, ITinNode)
Adds a 3D point to the TIN. pSeed can be NULL or Nothing.
void AddPointZ(IPoint pPoint, int TagValue, ITinNode pSeed)
Parameters
AddPolyObjects(IFeatureClass, IQueryFilter, IField, IField, bool, bool, esriTinEdgeType)
Adds polygons/polylines.
void AddPolyObjects(IFeatureClass pFeatureClass, IQueryFilter pFilter, IField pHeightField, IField pValueField, bool bSetEdgeTagValue, bool bSetNodeTagValue, esriTinEdgeType Type)
Parameters
pFeatureClassIFeatureClasspFilterIQueryFilterpHeightFieldIFieldpValueFieldIFieldbSetEdgeTagValueboolbSetNodeTagValueboolTypeesriTinEdgeType
AddPolygon(IPolygon, esriTinEdgeType, int, int, int, ITinTriangle, ref object)
Adds polygon. pSeed can be NULL or Nothing.
void AddPolygon(IPolygon pShape, esriTinEdgeType Type, int TagValue, int edgeTagValue, int NodeTagValue, ITinTriangle pSeed, ref object pZ)
Parameters
pShapeIPolygonTypeesriTinEdgeTypeTagValueintedgeTagValueintNodeTagValueintpSeedITinTrianglepZobject
AddPolygonZ(IPolygon, esriTinEdgeType, int, int, int, ITinTriangle)
Adds Z-aware polygon. pSeed can be NULL or Nothing.
void AddPolygonZ(IPolygon pShape, esriTinEdgeType Type, int TagValue, int edgeTagValue, int NodeTagValue, ITinTriangle pSeed)
Parameters
pShapeIPolygonTypeesriTinEdgeTypeTagValueintedgeTagValueintNodeTagValueintpSeedITinTriangle
AddPolyline(IPolyline, esriTinEdgeType, int, int, ITinEdge, ref object)
Adds polyline. pSeed can be NULL or Nothing.
void AddPolyline(IPolyline pShape, esriTinEdgeType Type, int TagValue, int NodeTagValue, ITinEdge pSeed, ref object pZ)
Parameters
AddPolylineZ(IPolyline, esriTinEdgeType, int, int, ITinEdge)
Adds Z-aware polyline. pSeed can be NULL or Nothing.
void AddPolylineZ(IPolyline pShape, esriTinEdgeType Type, int TagValue, int NodeTagValue, ITinEdge pSeed)
Parameters
pShapeIPolylineTypeesriTinEdgeTypeTagValueintNodeTagValueintpSeedITinEdge
CanAdd(IGeometry, double)
Checks if the specified shape can be added without creating spatial conflict.
bool CanAdd(IGeometry pShape, double spacing)
Parameters
Returns
CanAddVertex(IGeometry, IPoint, bool, double)
Checks if a new polygon/polyline vertex can be added without creating spatial conflict.
bool CanAddVertex(IGeometry pPoly, IPoint pNewPoint, bool bClose, double spacing)
Parameters
Returns
CanDeleteVertex(ITinNode, ITinFeatureSeed, double)
Checks if a polygon/polyline vertex can be deleted without creating spatial conflict.
bool CanDeleteVertex(ITinNode pNode, ITinFeatureSeed pSeed, double spacing)
Parameters
pNodeITinNodepSeedITinFeatureSeedspacingdouble
Returns
CanDisplace(ITinFeatureSeed, double, double, double)
Checks if the embedded object can be moved (continuously) to a new location without creating spatial conflict.
bool CanDisplace(ITinFeatureSeed pSeed, double dx, double dy, double spacing)
Parameters
pSeedITinFeatureSeeddxdoubledydoublespacingdouble
Returns
CanMove(ITinFeatureSeed, double, double, double)
Checks if the embedded object can be relocated to a new location without creating spatial conflict.
bool CanMove(ITinFeatureSeed pSeed, double dx, double dy, double spacing)
Parameters
pSeedITinFeatureSeeddxdoubledydoublespacingdouble
Returns
CanMoveVertex(ITinNode, ITinFeatureSeed, ref WKSPoint, double)
Checks if a polygon/polyline vertex can be moved to a new location without creating spatial conflict.
bool CanMoveVertex(ITinNode pNode, ITinFeatureSeed pSeed, ref WKSPoint pNewLocation, double spacing)
Parameters
pNodeITinNodepSeedITinFeatureSeedpNewLocationWKSPointspacingdouble
Returns
CanReplace(IGeometry, ITinFeatureSeed, double)
Checks if the embedded object can be replaced by the new shape without creating spatial conflict.
bool CanReplace(IGeometry pShape, ITinFeatureSeed pSeed, double spacing)
Parameters
pShapeIGeometrypSeedITinFeatureSeedspacingdouble
Returns
CanRotate(ITinFeatureSeed, IPoint, double, double)
Checks if the embedded polyline/polygon can be rotated without creating spatial conflict. pOrigin can be NULL or Nothing.
bool CanRotate(ITinFeatureSeed pSeed, IPoint pOrigin, double Angle, double spacing)
Parameters
pSeedITinFeatureSeedpOriginIPointAngledoublespacingdouble
Returns
CanScalePolygon(ITinTriangle, IPoint, double, double)
Checks if the embedded polygon can be expanded or shrinked without creating spatial conflict. pOrigin can be NULL or Nothing.
bool CanScalePolygon(ITinTriangle pSeed, IPoint pOrigin, double Scale, double spacing)
Parameters
pSeedITinTrianglepOriginIPointScaledoublespacingdouble
Returns
ClusterPoints(ITinNode, double, ITinFilter)
Finds a cluster of nodes, each node in the group has at least one neighbor, to which the distance is smaller, or equal to, the specified value.
IEnumTinNode ClusterPoints(ITinNode pSeed, double spacing, ITinFilter pFilter)
Parameters
pSeedITinNodespacingdoublepFilterITinFilter
Returns
ConvertToPolygons(IFeatureClass, ITinDynamicFilter, bool, bool, ref object)
Converts qualified triangles to a polygon feature class.
void ConvertToPolygons(IFeatureClass pFeatureClass, ITinDynamicFilter pFilter, bool bStopAtEnforcedEdge, bool bSkipDensifiedNodes, ref object pFieldName)
Parameters
pFeatureClassIFeatureClasspFilterITinDynamicFilterbStopAtEnforcedEdgeboolbSkipDensifiedNodesboolpFieldNameobject
ConvertToPolylines(IFeatureClass, ITinDynamicFilter, bool, ref object)
Converts qualified edges to a polyline feature class.
void ConvertToPolylines(IFeatureClass pFeatureClass, ITinDynamicFilter pFilter, bool bSkipDensifiedNodes, ref object pFieldName)
Parameters
pFeatureClassIFeatureClasspFilterITinDynamicFilterbSkipDensifiedNodesboolpFieldNameobject
Delete(ITinFeatureSeed)
Deletes the embedded point/polygon/polyline represented by the specified seed.
void Delete(ITinFeatureSeed pSeed)
Parameters
pSeedITinFeatureSeed
DeleteVertex(ITinNode, ITinFeatureSeed)
Deletes the specified vertex from an embedded polygon/polyline.
void DeleteVertex(ITinNode pNode, ITinFeatureSeed pSeed)
Parameters
pNodeITinNodepSeedITinFeatureSeed
ExtractPolygon(ITinFeatureSeed, bool, bool)
Extracts polygon.
IPolygon ExtractPolygon(ITinFeatureSeed pSeed, bool bGetZ, bool bSkipDensifiedNodes)
Parameters
pSeedITinFeatureSeedbGetZboolbSkipDensifiedNodesbool
Returns
ExtractPolyline(ITinFeatureSeed, bool, bool)
Extracts polyline. The seed must be a special edge, or an edge with tagValue.
IPolyline ExtractPolyline(ITinFeatureSeed pSeed, bool bGetZ, bool bSkipDensifiedNodes)
Parameters
pSeedITinFeatureSeedbGetZboolbSkipDensifiedNodesbool
Returns
IsNodeShared(ITinNode)
Returns TRUE if specified node is shared by more than two enforced edges.
bool IsNodeShared(ITinNode pNode)
Parameters
pNodeITinNode
Returns
Merge(ITinEdge, int, bool)
Merges two embedded polygons sharing the specified common edge.
void Merge(ITinEdge pCommonEdge, int newValue, bool bKeepCommonNodes)
Parameters
Move(ITinFeatureSeed, double, double, bool)
Moves the embedded point/polygon/polyline represented by the specified seed.
void Move(ITinFeatureSeed pSeed, double dx, double dy, bool bGetNewZ)
Parameters
pSeedITinFeatureSeeddxdoubledydoublebGetNewZbool
MoveVertex(ITinNode, ITinFeatureSeed, ref WKSPoint, bool)
Moves the specified vertex of an embedded polygon/polyline to a new location.
void MoveVertex(ITinNode pNode, ITinFeatureSeed pSeed, ref WKSPoint pNewLocation, bool bGetNewZ)
Parameters
pNodeITinNodepSeedITinFeatureSeedpNewLocationWKSPointbGetNewZbool
QueryAdjacentVertices(ITinFeatureSeed, ITinNode, ITinNode)
Queries the first two non-densified nodes of a line segment represented by the specified edge).
void QueryAdjacentVertices(ITinFeatureSeed pSeedEdge, ITinNode pBehind, ITinNode pFront)
Parameters
pSeedEdgeITinFeatureSeedpBehindITinNodepFrontITinNode
RefreshTagValues()
Refresh cached TIN tag values.
void RefreshTagValues()
RemoveIslands(ITinTriangle, double, bool, bool)
Removes islands whose area is smaller than the specified value, from the embedded polygon represented by the specified seed. Remove all holes if the value is zero.
void RemoveIslands(ITinTriangle pSeed, double Area, bool bKeepNodes, bool bZeroTag)
Parameters
pSeedITinTriangleAreadoublebKeepNodesboolbZeroTagbool
Rotate(ITinFeatureSeed, IPoint, double, bool)
Rotates the embedded polygon/polyline represented by the specified seed. pOrigin can be NULL or Nothing.
void Rotate(ITinFeatureSeed pSeed, IPoint pOrigin, double Angle, bool bGetNewZ)
Parameters
pSeedITinFeatureSeedpOriginIPointAngledoublebGetNewZbool
ScalePolygon(ITinTriangle, IPoint, double, bool)
Expands or shrinks the embedded polygon represented by the specified seed. pOrigin can be NULL or Nothing.
void ScalePolygon(ITinTriangle pSeed, IPoint pOrigin, double Scale, bool bGetNewZ)
Parameters
pSeedITinTrianglepOriginIPointScaledoublebGetNewZbool
SetToConstrainedDelaunay()
Apply constrained Delaunay from now on.
void SetToConstrainedDelaunay()
StartInMemoryEditing()
Initiates memory edit mode. Use ITinEdit::SaveAs to persist. Don't use Save.
bool StartInMemoryEditing()