Interface ITopologicalSegment

Namespace
ESRI.ArcGIS.Geometry
Assembly
ESRI.Server.Geometry.dll

Provides access to members that identify segments that can participate in topological operations (intersect, etc).

[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("4DF409C0-2B14-11D2-BCBD-0000F875BCCE")]
public interface ITopologicalSegment : ISegment, ICurve, IGeometry

Properties

Dimension

esriGeometryDimension Dimension { get; }

Property Value

esriGeometryDimension

Envelope

IEnvelope Envelope { get; }

Property Value

IEnvelope

FromPoint

IPoint FromPoint { get; set; }

Property Value

IPoint

GeometryType

esriGeometryType GeometryType { get; }

Property Value

esriGeometryType

IsClosed

bool IsClosed { get; }

Property Value

bool

IsEmpty

bool IsEmpty { get; }

Property Value

bool

Length

double Length { get; }

Property Value

double

SpatialReference

ISpatialReference SpatialReference { get; set; }

Property Value

ISpatialReference

ToPoint

IPoint ToPoint { get; set; }

Property Value

IPoint

VertexAttributeAware[esriGeometryAttributes]

bool VertexAttributeAware[esriGeometryAttributes attributeType] { get; set; }

Parameters

attributeType esriGeometryAttributes

Property Value

bool

YAtX[WKSPoint]

The monotonic Y value at a given X.

double YAtX[ref WKSPoint p] { get; }

Parameters

p WKSPoint

Property Value

double

Methods

BreakOverlap(ITopologicalSegment, ITopologicalSegment, ref ITopologicalSegment, ref int)

Breaks segment overlap into continuous, non-overlapping segments.

void BreakOverlap(ITopologicalSegment otherSegment, ITopologicalSegment interpolator, ref ITopologicalSegment busted, ref int overlapKind)

Parameters

otherSegment ITopologicalSegment
interpolator ITopologicalSegment
busted ITopologicalSegment
overlapKind int

ConvertDistanceMeasureToRatio(double, ref double)

void ConvertDistanceMeasureToRatio(double distanceMeasure, ref double distanceRatio)

Parameters

distanceMeasure double
distanceRatio double

Densify(int, double, out int, out ILine)

void Densify(int cInSlots, double maxDeviation, out int pcOutSegments, out ILine segments)

Parameters

cInSlots int
maxDeviation double
pcOutSegments int
segments ILine

EnvelopeIntersection(IEnvelope, bool, ref double, ref double, ref int, out int)

void EnvelopeIntersection(IEnvelope intersectionEnvelope, bool boundaryOverlap, ref double segmentParams, ref double envelopeDistances, ref int numIntersections, out int outcode)

Parameters

intersectionEnvelope IEnvelope
boundaryOverlap bool
segmentParams double
envelopeDistances double
numIntersections int
outcode int

GeoNormalize()

void GeoNormalize()

GeoNormalizeFromLongitude(double)

void GeoNormalizeFromLongitude(double Longitude)

Parameters

Longitude double

GeographicShift(double)

void GeographicShift(double splitLongitude)

Parameters

splitLongitude double

GetDistanceAtVertexAttribute(esriGeometryAttributes, double, bool)

double GetDistanceAtVertexAttribute(esriGeometryAttributes attributeType, double attributeValue, bool asRatio)

Parameters

attributeType esriGeometryAttributes
attributeValue double
asRatio bool

Returns

double

GetPointsAtVertexAttribute(esriGeometryAttributes, double, double, out IPointCollection)

void GetPointsAtVertexAttribute(esriGeometryAttributes attributeType, double attributeValue, double lateralOffset, out IPointCollection outPoints)

Parameters

attributeType esriGeometryAttributes
attributeValue double
lateralOffset double
outPoints IPointCollection

GetSubSegmentBetweenVertexAttributes(esriGeometryAttributes, double, double, out ISegment)

void GetSubSegmentBetweenVertexAttributes(esriGeometryAttributes attributeType, double fromAttribute, double toAttribute, out ISegment outSegment)

Parameters

attributeType esriGeometryAttributes
fromAttribute double
toAttribute double
outSegment ISegment

GetSubcurve(double, double, bool, out ICurve)

void GetSubcurve(double fromDistance, double toDistance, bool asRatio, out ICurve outSubcurve)

Parameters

fromDistance double
toDistance double
asRatio bool
outSubcurve ICurve

GetVertexAttributeAtDistance(esriGeometryAttributes, double, bool)

double GetVertexAttributeAtDistance(esriGeometryAttributes attributeType, double distance, bool asRatio)

Parameters

attributeType esriGeometryAttributes
distance double
asRatio bool

Returns

double

HasVertexAttributes(esriGeometryAttributes, out bool, out bool)

void HasVertexAttributes(esriGeometryAttributes attributeType, out bool hasFromAttribute, out bool hasToAttribute)

Parameters

attributeType esriGeometryAttributes
hasFromAttribute bool
hasToAttribute bool

HorizontalIntersectionCount(ref WKSPoint, out bool)

int HorizontalIntersectionCount(ref WKSPoint p, out bool pointOnLine)

Parameters

p WKSPoint
pointOnLine bool

Returns

int

InterpolateVertexAttributes(double, bool, IPoint)

void InterpolateVertexAttributes(double distanceAlongSegment, bool asRatio, IPoint atPoint)

Parameters

distanceAlongSegment double
asRatio bool
atPoint IPoint

MaxDistanceFromLine(ref WKSPoint, ref WKSPoint, double, double, double, ref double, ref double, ref WKSPoint)

void MaxDistanceFromLine(ref WKSPoint baseFrom, ref WKSPoint baseTo, double minOffset, double fromArcDistance, double toArcDistance, ref double maxOffset, ref double atArcDistance, ref WKSPoint farPoint)

Parameters

baseFrom WKSPoint
baseTo WKSPoint
minOffset double
fromArcDistance double
toArcDistance double
maxOffset double
atArcDistance double
farPoint WKSPoint

Project(ISpatialReference)

void Project(ISpatialReference newReferenceSystem)

Parameters

newReferenceSystem ISpatialReference

PutAttributes(bool, bool, ref esriPointAttributes, ref esriPointAttributes)

void PutAttributes(bool PutAttributes, bool putAwareness, ref esriPointAttributes from, ref esriPointAttributes to)

Parameters

PutAttributes bool
putAwareness bool
from esriPointAttributes
to esriPointAttributes

PutVertexAttributes(esriGeometryAttributes, double, double)

void PutVertexAttributes(esriGeometryAttributes attributeType, double fromAttribute, double toAttribute)

Parameters

attributeType esriGeometryAttributes
fromAttribute double
toAttribute double

QueryAreaCorrection(out double)

void QueryAreaCorrection(out double areaCorrection)

Parameters

areaCorrection double

QueryAttributes(bool, bool, ref esriPointAttributes, ref esriPointAttributes)

void QueryAttributes(bool getAttributes, bool getAwareness, ref esriPointAttributes from, ref esriPointAttributes to)

Parameters

getAttributes bool
getAwareness bool
from esriPointAttributes
to esriPointAttributes

QueryCentroidCorrection(ref double, ref double, ref double)

void QueryCentroidCorrection(ref double weightedCentroidX, ref double weightedCentroidY, ref double areaCorrection)

Parameters

weightedCentroidX double
weightedCentroidY double
areaCorrection double

QueryCurvature(double, bool, out double, ILine)

void QueryCurvature(double DistanceAlongCurve, bool asRatio, out double curvature, ILine unitVector)

Parameters

DistanceAlongCurve double
asRatio bool
curvature double
unitVector ILine

QueryEnvelope(IEnvelope)

void QueryEnvelope(IEnvelope outEnvelope)

Parameters

outEnvelope IEnvelope

QueryFromPoint(IPoint)

void QueryFromPoint(IPoint from)

Parameters

from IPoint

QueryNormal(esriSegmentExtension, double, bool, double, ILine)

void QueryNormal(esriSegmentExtension extension, double DistanceAlongCurve, bool asRatio, double Length, ILine normal)

Parameters

extension esriSegmentExtension
DistanceAlongCurve double
asRatio bool
Length double
normal ILine

QueryPoint(esriSegmentExtension, double, bool, IPoint)

void QueryPoint(esriSegmentExtension extension, double DistanceAlongCurve, bool asRatio, IPoint outPoint)

Parameters

extension esriSegmentExtension
DistanceAlongCurve double
asRatio bool
outPoint IPoint

QueryPointAndDistance(esriSegmentExtension, IPoint, bool, IPoint, ref double, ref double, ref bool)

void QueryPointAndDistance(esriSegmentExtension extension, IPoint inPoint, bool asRatio, IPoint outPoint, ref double DistanceAlongCurve, ref double distanceFromCurve, ref bool bRightSide)

Parameters

extension esriSegmentExtension
inPoint IPoint
asRatio bool
outPoint IPoint
DistanceAlongCurve double
distanceFromCurve double
bRightSide bool

QueryTangent(esriSegmentExtension, double, bool, double, ILine)

void QueryTangent(esriSegmentExtension extension, double DistanceAlongCurve, bool asRatio, double Length, ILine tangent)

Parameters

extension esriSegmentExtension
DistanceAlongCurve double
asRatio bool
Length double
tangent ILine

QueryToPoint(IPoint)

void QueryToPoint(IPoint to)

Parameters

to IPoint

QueryVertexAttributes(esriGeometryAttributes, out double, out double)

void QueryVertexAttributes(esriGeometryAttributes attributeType, out double fromAttribute, out double toAttribute)

Parameters

attributeType esriGeometryAttributes
fromAttribute double
toAttribute double

QueryWKSEnvelope(ref WKSEnvelope)

void QueryWKSEnvelope(ref WKSEnvelope Envelope)

Parameters

Envelope WKSEnvelope

QueryWKSFromPoint(out WKSPoint)

void QueryWKSFromPoint(out WKSPoint p)

Parameters

p WKSPoint

QueryWKSToPoint(out WKSPoint)

void QueryWKSToPoint(out WKSPoint p)

Parameters

p WKSPoint

ReturnTurnDirection(ISegment)

int ReturnTurnDirection(ISegment otherSegment)

Parameters

otherSegment ISegment

Returns

int

ReverseOrientation()

void ReverseOrientation()

SetEmpty()

void SetEmpty()

SnapToSpatialReference()

void SnapToSpatialReference()

SplitAtDistance(double, bool, out ISegment, out ISegment)

void SplitAtDistance(double distances, bool asRatio, out ISegment fromSegment, out ISegment toSegment)

Parameters

distances double
asRatio bool
fromSegment ISegment
toSegment ISegment

SplitAtVertexAttribute(esriGeometryAttributes, double, out ISegment, out ISegment)

void SplitAtVertexAttribute(esriGeometryAttributes attributeType, double attributeValue, out ISegment fromSegment, out ISegment toSegment)

Parameters

attributeType esriGeometryAttributes
attributeValue double
fromSegment ISegment
toSegment ISegment

SplitDivideLength(double, double, bool, ref int, ref ISegment)

void SplitDivideLength(double Offset, double Length, bool asRatio, ref int numSplitSegments, ref ISegment splitSegments)

Parameters

Offset double
Length double
asRatio bool
numSplitSegments int
splitSegments ISegment

SplitYMonotonic(ref int, ref ITopologicalSegment, ref bool)

Splits segment into Y monotonic segments.

void SplitYMonotonic(ref int numSegments, ref ITopologicalSegment segments, ref bool flipped)

Parameters

numSegments int
segments ITopologicalSegment
flipped bool

SynchronizeEmptyAttributes(ISegment)

void SynchronizeEmptyAttributes(ISegment toSegment)

Parameters

toSegment ISegment

VertexAttributeOn(esriGeometryAttributes, double)

int VertexAttributeOn(esriGeometryAttributes attributeType, double attributeValue)

Parameters

attributeType esriGeometryAttributes
attributeValue double

Returns

int