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

int

IsInMemoryEditMode

Indicates if the specified TIN is in in-memory-edit mode.

bool IsInMemoryEditMode { get; }

Property Value

bool

StopAtEnforcedEdge

Indicates if a polygon related process (e.g., ExtractPolygon) should stop when reach an enforced edge.

bool StopAtEnforcedEdge { get; set; }

Property Value

bool

StopAtJuncture

Indicates if a polyline related process (e.g., ExtractPolyline) should stop at juncture.

bool StopAtJuncture { get; set; }

Property Value

bool

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

pPoint IPoint
TagValue int
pSeed ITinNode

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

pFeatureClass IFeatureClass
pFilter IQueryFilter
pHeightField IField
pValueField IField
bSetEdgeTagValue bool
bSetNodeTagValue bool
Type esriTinEdgeType

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

pShape IPolygon
Type esriTinEdgeType
TagValue int
edgeTagValue int
NodeTagValue int
pSeed ITinTriangle
pZ object

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

pShape IPolygon
Type esriTinEdgeType
TagValue int
edgeTagValue int
NodeTagValue int
pSeed ITinTriangle

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

pShape IPolyline
Type esriTinEdgeType
TagValue int
NodeTagValue int
pSeed ITinEdge
pZ object

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

pShape IPolyline
Type esriTinEdgeType
TagValue int
NodeTagValue int
pSeed ITinEdge

CanAdd(IGeometry, double)

Checks if the specified shape can be added without creating spatial conflict.

bool CanAdd(IGeometry pShape, double spacing)

Parameters

pShape IGeometry
spacing double

Returns

bool

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

pPoly IGeometry
pNewPoint IPoint
bClose bool
spacing double

Returns

bool

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

pNode ITinNode
pSeed ITinFeatureSeed
spacing double

Returns

bool

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

pSeed ITinFeatureSeed
dx double
dy double
spacing double

Returns

bool

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

pSeed ITinFeatureSeed
dx double
dy double
spacing double

Returns

bool

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

pNode ITinNode
pSeed ITinFeatureSeed
pNewLocation WKSPoint
spacing double

Returns

bool

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

pShape IGeometry
pSeed ITinFeatureSeed
spacing double

Returns

bool

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

pSeed ITinFeatureSeed
pOrigin IPoint
Angle double
spacing double

Returns

bool

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

pSeed ITinTriangle
pOrigin IPoint
Scale double
spacing double

Returns

bool

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

pSeed ITinNode
spacing double
pFilter ITinFilter

Returns

IEnumTinNode

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

pFeatureClass IFeatureClass
pFilter ITinDynamicFilter
bStopAtEnforcedEdge bool
bSkipDensifiedNodes bool
pFieldName object

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

pFeatureClass IFeatureClass
pFilter ITinDynamicFilter
bSkipDensifiedNodes bool
pFieldName object

Delete(ITinFeatureSeed)

Deletes the embedded point/polygon/polyline represented by the specified seed.

void Delete(ITinFeatureSeed pSeed)

Parameters

pSeed ITinFeatureSeed

DeleteVertex(ITinNode, ITinFeatureSeed)

Deletes the specified vertex from an embedded polygon/polyline.

void DeleteVertex(ITinNode pNode, ITinFeatureSeed pSeed)

Parameters

pNode ITinNode
pSeed ITinFeatureSeed

ExtractPolygon(ITinFeatureSeed, bool, bool)

Extracts polygon.

IPolygon ExtractPolygon(ITinFeatureSeed pSeed, bool bGetZ, bool bSkipDensifiedNodes)

Parameters

pSeed ITinFeatureSeed
bGetZ bool
bSkipDensifiedNodes bool

Returns

IPolygon

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

pSeed ITinFeatureSeed
bGetZ bool
bSkipDensifiedNodes bool

Returns

IPolyline

IsNodeShared(ITinNode)

Returns TRUE if specified node is shared by more than two enforced edges.

bool IsNodeShared(ITinNode pNode)

Parameters

pNode ITinNode

Returns

bool

Merge(ITinEdge, int, bool)

Merges two embedded polygons sharing the specified common edge.

void Merge(ITinEdge pCommonEdge, int newValue, bool bKeepCommonNodes)

Parameters

pCommonEdge ITinEdge
newValue int
bKeepCommonNodes bool

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

pSeed ITinFeatureSeed
dx double
dy double
bGetNewZ bool

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

pNode ITinNode
pSeed ITinFeatureSeed
pNewLocation WKSPoint
bGetNewZ bool

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

pSeedEdge ITinFeatureSeed
pBehind ITinNode
pFront ITinNode

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

pSeed ITinTriangle
Area double
bKeepNodes bool
bZeroTag bool

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

pSeed ITinFeatureSeed
pOrigin IPoint
Angle double
bGetNewZ bool

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

pSeed ITinTriangle
pOrigin IPoint
Scale double
bGetNewZ bool

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()

Returns

bool