This document is archived and information here might be outdated.  Recommended version.


ISegment Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IS > ISegment Interface
ArcGIS Developer Help

ISegment Interface

Provides access to members that identify a segment. A segment is a way of getting between two endpoints.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Name Description
Method ConvertDistanceMeasureToRatio Converts the distance measure to a ratio of the total distance.
Method Densify Densify segment into the specified number of smaller segments. This method is intended for internal use only.
Read-only property Dimension The topological dimension of this geometry.
Read-only property Envelope Creates a copy of this geometry's envelope and returns it.
Method EnvelopeIntersection Finds intersections with clipping envelope; boundaryOverlap is ignored for non-linear segments.
Read/write property FromPoint The 'from' point of the curve.
Method GeographicShift Shift longitudes to the right of splitLongitude. This method is obsolete.
Read-only property GeometryType The type of this geometry.
Method GeoNormalize Shifts longitudes, if need be, into a continuous range of 360 degrees.
Method GeoNormalizeFromLongitude Normalizes longitudes into a continuous range containing the longitude. This method is obsolete.
Method GetDistanceAtVertexAttribute Gets the distance corresponding to the attribute value along the segment.
Method GetPointsAtVertexAttribute Gets the point at the location corresponding to the attribute value.
Method GetSubcurve Extracts a portion of this curve into a new curve.
Method GetSubSegmentBetweenVertexAttributes Gets the segment corresponding to the extent along the segment between the 'from' and 'to' attribute values.
Method GetVertexAttributeAtDistance Gets the attribute value corresponding to the distance along the segment.
Method HasVertexAttributes Returns two booleans telling if the segment as from attribute and to attribute values.
Method HorizontalIntersectionCount Returns the number of horizontal intersections.
Method InterpolateVertexAttributes Interpolates Z and M values at distanceAlongSegment and stores the results at point.
Read-only property IsClosed Indicates if 'from' and 'to' points (of each part) are identical.
Read-only property IsEmpty Indicates whether this geometry contains any points.
Read-only property Length The length of the curve.
Method MaxDistanceFromLine Returns the maximum distance from the line.
Method Project Projects this geometry into a new spatial reference.
Method PutAttributes Sets some attributes from this point and copies them to another point. Awareness is not considered.
Method PutVertexAttributes Sets the 'from' and the 'to' attribute values.
Method QueryAreaCorrection Queries the area correction value.
Method QueryAttributes Gets some attributes from this point and copies them to another point. Awareness is not considered.
Method QueryCentroidCorrection Queries the centroid correction value.
Method QueryCurvature Finds curvature and unit vector starting at point on segment and directed to embedded circle center.
Method QueryEnvelope Copies this geometry's envelope properties into the specified envelope.
Method QueryFromPoint Copies this curve's 'from' point to the input point.
Method QueryNormal Constructs a line normal to a curve from a point at a specified distance along the curve.
Method QueryPoint Copies to outPoint the properties of a point on the curve at a specified distance from the beginning of the curve.
Method QueryPointAndDistance Finds the point on the curve closest to inPoint, then copies that point to outPoint; optionally calculates related items.
Method QueryTangent Constructs a line tangent to a curve from a point at a specified distance along the curve.
Method QueryToPoint Copies the curve's 'to' point into the input point.
Method QueryVertexAttributes Gets the 'from' and the 'to' attribute values.
Method QueryWKSEnvelope Queries the WKS Envelope.
Method QueryWKSFromPoint Query the WKSPoint at the 'from' point.
Method QueryWKSToPoint Query the WKSPoint at the 'to' point.
Method ReturnTurnDirection Finds turn direction between two connected segments.
Method ReverseOrientation Reverses the parameterization of the curve ('from' point becomes 'to' point, first segment becomes last segment, etc).
Method SetEmpty Removes all points from this geometry.
Method SnapToSpatialReference Moves points of this geometry so that they can be represented in the precision of the geometry's associated spatial reference system.
Read/write property SpatialReference The spatial reference associated with this geometry.
Method SplitAtDistance Split segment at specified distance.
Method SplitAtVertexAttribute Splits the segment in two segments at the location corresponding to the attribute value.
Method SplitDivideLength Divide segment into smaller segments of the specified length.
Method SynchronizeEmptyAttributes Synchronize Empty Attributes.
Read/write property ToPoint The 'to' point of the curve.
Read/write property VertexAttributeAware Indicates if the segment is aware of the specified attribute type.
Method VertexAttributeOn Indicates if attributeValue is located on this segment.

Inherited Interfaces

Interfaces Description
ICurve Provides access to properties and methods of all 1 dimensional curves (polylines, segments, boundaries of polygons, etc.).
IGeometry Provides access to members that describe properties and behavior of all geometric objects.

Classes that implement ISegment

Classes Description
BezierCurve A cubic Bezier curve defined between two points; optionally has measure, height and ID attributes at each endpoint.
CircularArc A portion of a circle that connects two points optionally has measure, height and ID attributes at each endpoint.
EllipticArc A portion of the boundary of a 2D ellipse that connects two points; optionally has measure, height and ID attributes at each endpoint.
Line A 2D straight line between a pair of 2D endpoints; can optionally have height, measure and ID attributes at each endpoint.

See Also

ISegment Interface | ILine Interface | IEllipticArc Interface | ICircularArc Interface | IBezierCurve Interface | ICurve Interface