ILine3 Interface

Provides access to members that identify a straight line segment and defines its properties.

Members

Name Description
Read-only property Angle The angle between this line and the positive x-axis.
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.
Read/write property FromPoint The 'from' point of the curve.
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 GetDistanceAtVertexAttribute3D Gets the distance corresponding to the attribute value along the line.
Method GetSubcurve Extracts a portion of this curve into a new curve.
Method GetVertexAttributeAtDistance3D Gets the attribute value corresponding to the 3D distance along the line.
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 Project Projects this geometry into a new spatial reference.
Method PutCoords Sets this line's endpoints to be 'from' and 'to'.
Method PutWKSCoords From and To become the new endpoints of this line. Any existing attributes are deleted.
Method QueryCoords Copies the endpoints of this line to 'from' and 'to'.
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 QueryWKSCoords Returns the (x,y) coordinates of this line's endpoints.
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 SplitAtDistance3D Split segment at specified distance.
Read/write property ToPoint The 'to' point of the curve.

ILine3.GetDistanceAtVertexAttribute3D Method

Gets the distance corresponding to the attribute value along the line.

Public Function GetDistanceAtVertexAttribute3D ( _
    ByVal attributeType As esriGeometryAttributes, _
    ByVal attributeValue As Double, _
    ByVal asRatio As Boolean _
) As Double
public double GetDistanceAtVertexAttribute3D (
    esriGeometryAttributes attributeType,
    double attributeValue,
    bool asRatio
);

ILine3.GetVertexAttributeAtDistance3D Method

Gets the attribute value corresponding to the 3D distance along the line.

Public Function GetVertexAttributeAtDistance3D ( _
    ByVal attributeType As esriGeometryAttributes, _
    ByVal distance As Double, _
    ByVal asRatio As Boolean _
) As Double
public double GetVertexAttributeAtDistance3D (
    esriGeometryAttributes attributeType,
    double distance,
    bool asRatio
);

ILine3.SplitAtDistance3D Method

Split segment at specified distance.

Public Sub SplitAtDistance3D ( _
    ByVal distances As Double, _
    ByVal asRatio As Boolean, _
    ByRef fromSegment As ISegment, _
    ByRef toSegment As ISegment _
)
public void SplitAtDistance3D (
    double distances,
    bool asRatio,
    ref ISegment fromSegment,
    ref ISegment toSegment
);

Inherited Interfaces

Interfaces Description
ILine2 Provides access to the coordinates of a line segment in the form of Well Known Structures (WKS).
ILine Provides access to members that identify a straight line segment and defines its properties.
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 ILine3

Classes Description
Line A 2D straight line between a pair of 2D endpoints; can optionally have height, measure and ID attributes at each endpoint.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.