Interface ITopologicalSegment2
Provides access to members that extend the ITopologicalSegment interface.
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("FE736C24-01DA-11D4-9F6C-00C04F6BDD7F")]
public interface ITopologicalSegment2 : ITopologicalSegment, ISegment, ICurve, IGeometry
Properties
Dimension
esriGeometryDimension Dimension { get; }
Property Value
Envelope
IEnvelope Envelope { get; }
Property Value
FromPoint
IPoint FromPoint { get; set; }
Property Value
GeometryType
esriGeometryType GeometryType { get; }
Property Value
IsClosed
bool IsClosed { get; }
Property Value
IsCounterClockwise2
Indicates the counterclockwise orientation for non-linear curves including closed BezierCurves.
bool IsCounterClockwise2 { get; }
Property Value
IsEmpty
bool IsEmpty { get; }
Property Value
IsShort
Indicates whether the segment is shorter than the tolerance.
bool IsShort { get; }
Property Value
Length
double Length { get; }
Property Value
SpatialReference
ISpatialReference SpatialReference { get; set; }
Property Value
ToPoint
IPoint ToPoint { get; set; }
Property Value
VertexAttributeAware[esriGeometryAttributes]
bool VertexAttributeAware[esriGeometryAttributes attributeType] { get; set; }
Parameters
attributeTypeesriGeometryAttributes
Property Value
YAtX[WKSPoint]
double YAtX[ref WKSPoint p] { get; }
Parameters
pWKSPoint
Property Value
Methods
BreakOverlap(ITopologicalSegment, ITopologicalSegment, ref ITopologicalSegment, ref int)
void BreakOverlap(ITopologicalSegment otherSegment, ITopologicalSegment interpolator, ref ITopologicalSegment busted, ref int overlapKind)
Parameters
otherSegmentITopologicalSegmentinterpolatorITopologicalSegmentbustedITopologicalSegmentoverlapKindint
ConvertDistanceMeasureToRatio(double, ref double)
void ConvertDistanceMeasureToRatio(double distanceMeasure, ref double distanceRatio)
Parameters
Densify(int, double, out int, out ILine)
void Densify(int cInSlots, double maxDeviation, out int pcOutSegments, out ILine segments)
Parameters
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
intersectionEnvelopeIEnvelopeboundaryOverlapboolsegmentParamsdoubleenvelopeDistancesdoublenumIntersectionsintoutcodeint
GeoNormalize()
void GeoNormalize()
GeoNormalizeFromLongitude(double)
void GeoNormalizeFromLongitude(double Longitude)
Parameters
Longitudedouble
GeographicShift(double)
void GeographicShift(double splitLongitude)
Parameters
splitLongitudedouble
GetDistanceAtVertexAttribute(esriGeometryAttributes, double, bool)
double GetDistanceAtVertexAttribute(esriGeometryAttributes attributeType, double attributeValue, bool asRatio)
Parameters
attributeTypeesriGeometryAttributesattributeValuedoubleasRatiobool
Returns
GetPointsAtVertexAttribute(esriGeometryAttributes, double, double, out IPointCollection)
void GetPointsAtVertexAttribute(esriGeometryAttributes attributeType, double attributeValue, double lateralOffset, out IPointCollection outPoints)
Parameters
attributeTypeesriGeometryAttributesattributeValuedoublelateralOffsetdoubleoutPointsIPointCollection
GetSubSegmentBetweenVertexAttributes(esriGeometryAttributes, double, double, out ISegment)
void GetSubSegmentBetweenVertexAttributes(esriGeometryAttributes attributeType, double fromAttribute, double toAttribute, out ISegment outSegment)
Parameters
attributeTypeesriGeometryAttributesfromAttributedoubletoAttributedoubleoutSegmentISegment
GetSubcurve(double, double, bool, out ICurve)
void GetSubcurve(double fromDistance, double toDistance, bool asRatio, out ICurve outSubcurve)
Parameters
GetVertexAttributeAtDistance(esriGeometryAttributes, double, bool)
double GetVertexAttributeAtDistance(esriGeometryAttributes attributeType, double distance, bool asRatio)
Parameters
attributeTypeesriGeometryAttributesdistancedoubleasRatiobool
Returns
HasVertexAttributes(esriGeometryAttributes, out bool, out bool)
void HasVertexAttributes(esriGeometryAttributes attributeType, out bool hasFromAttribute, out bool hasToAttribute)
Parameters
attributeTypeesriGeometryAttributeshasFromAttributeboolhasToAttributebool
HorizontalIntersectionCount(ref WKSPoint, out bool)
int HorizontalIntersectionCount(ref WKSPoint p, out bool pointOnLine)
Parameters
Returns
InterpolateVertexAttributes(double, bool, IPoint)
void InterpolateVertexAttributes(double distanceAlongSegment, bool asRatio, IPoint atPoint)
Parameters
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
baseFromWKSPointbaseToWKSPointminOffsetdoublefromArcDistancedoubletoArcDistancedoublemaxOffsetdoubleatArcDistancedoublefarPointWKSPoint
Project(ISpatialReference)
void Project(ISpatialReference newReferenceSystem)
Parameters
newReferenceSystemISpatialReference
PutAttributes(bool, bool, ref esriPointAttributes, ref esriPointAttributes)
void PutAttributes(bool PutAttributes, bool putAwareness, ref esriPointAttributes from, ref esriPointAttributes to)
Parameters
PutVertexAttributes(esriGeometryAttributes, double, double)
void PutVertexAttributes(esriGeometryAttributes attributeType, double fromAttribute, double toAttribute)
Parameters
attributeTypeesriGeometryAttributesfromAttributedoubletoAttributedouble
QueryAreaCorrection(out double)
void QueryAreaCorrection(out double areaCorrection)
Parameters
areaCorrectiondouble
QueryAttributes(bool, bool, ref esriPointAttributes, ref esriPointAttributes)
void QueryAttributes(bool getAttributes, bool getAwareness, ref esriPointAttributes from, ref esriPointAttributes to)
Parameters
QueryCentroidCorrection(ref double, ref double, ref double)
void QueryCentroidCorrection(ref double weightedCentroidX, ref double weightedCentroidY, ref double areaCorrection)
Parameters
QueryCurvature(double, bool, out double, ILine)
void QueryCurvature(double DistanceAlongCurve, bool asRatio, out double curvature, ILine unitVector)
Parameters
QueryEnvelope(IEnvelope)
void QueryEnvelope(IEnvelope outEnvelope)
Parameters
outEnvelopeIEnvelope
QueryFromPoint(IPoint)
void QueryFromPoint(IPoint from)
Parameters
fromIPoint
QueryNormal(esriSegmentExtension, double, bool, double, ILine)
void QueryNormal(esriSegmentExtension extension, double DistanceAlongCurve, bool asRatio, double Length, ILine normal)
Parameters
extensionesriSegmentExtensionDistanceAlongCurvedoubleasRatioboolLengthdoublenormalILine
QueryPoint(esriSegmentExtension, double, bool, IPoint)
void QueryPoint(esriSegmentExtension extension, double DistanceAlongCurve, bool asRatio, IPoint outPoint)
Parameters
extensionesriSegmentExtensionDistanceAlongCurvedoubleasRatiobooloutPointIPoint
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
extensionesriSegmentExtensioninPointIPointasRatiobooloutPointIPointDistanceAlongCurvedoubledistanceFromCurvedoublebRightSidebool
QueryTangent(esriSegmentExtension, double, bool, double, ILine)
void QueryTangent(esriSegmentExtension extension, double DistanceAlongCurve, bool asRatio, double Length, ILine tangent)
Parameters
extensionesriSegmentExtensionDistanceAlongCurvedoubleasRatioboolLengthdoubletangentILine
QueryToPoint(IPoint)
void QueryToPoint(IPoint to)
Parameters
toIPoint
QueryVertexAttributes(esriGeometryAttributes, out double, out double)
void QueryVertexAttributes(esriGeometryAttributes attributeType, out double fromAttribute, out double toAttribute)
Parameters
attributeTypeesriGeometryAttributesfromAttributedoubletoAttributedouble
QueryWKSEnvelope(ref WKSEnvelope)
void QueryWKSEnvelope(ref WKSEnvelope Envelope)
Parameters
EnvelopeWKSEnvelope
QueryWKSFromPoint(out WKSPoint)
void QueryWKSFromPoint(out WKSPoint p)
Parameters
pWKSPoint
QueryWKSToPoint(out WKSPoint)
void QueryWKSToPoint(out WKSPoint p)
Parameters
pWKSPoint
ReturnTurnDirection(ISegment)
int ReturnTurnDirection(ISegment otherSegment)
Parameters
otherSegmentISegment
Returns
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
SplitAtVertexAttribute(esriGeometryAttributes, double, out ISegment, out ISegment)
void SplitAtVertexAttribute(esriGeometryAttributes attributeType, double attributeValue, out ISegment fromSegment, out ISegment toSegment)
Parameters
attributeTypeesriGeometryAttributesattributeValuedoublefromSegmentISegmenttoSegmentISegment
SplitDivideLength(double, double, bool, ref int, ref ISegment)
void SplitDivideLength(double Offset, double Length, bool asRatio, ref int numSplitSegments, ref ISegment splitSegments)
Parameters
SplitYMonotonic(ref int, ref ITopologicalSegment, ref bool)
void SplitYMonotonic(ref int numSegments, ref ITopologicalSegment segments, ref bool flipped)
Parameters
numSegmentsintsegmentsITopologicalSegmentflippedbool
SplitYMonotonicEx(ref int, ref ITopologicalSegment, ref bool, ref ITopologicalSegment2)
Splits segments into Y monotonic segments and returns the unsplit parent segments.
void SplitYMonotonicEx(ref int numSegments, ref ITopologicalSegment segments, ref bool flipped, ref ITopologicalSegment2 parentSegments)
Parameters
numSegmentsintsegmentsITopologicalSegmentflippedboolparentSegmentsITopologicalSegment2
SynchronizeEmptyAttributes(ISegment)
void SynchronizeEmptyAttributes(ISegment toSegment)
Parameters
toSegmentISegment
VertexAttributeOn(esriGeometryAttributes, double)
int VertexAttributeOn(esriGeometryAttributes attributeType, double attributeValue)
Parameters
attributeTypeesriGeometryAttributesattributeValuedouble