Struct GeoLine2
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
Whether a segment touches another shape.
public readonly struct GeoLine2 : IEquatable<GeoLine2>
- Implements
- Inherited Members
- Extension Methods
Constructors
- GeoLine2(GeoPoint2, GeoPoint2)
Initializes a new GeoLine2 instance from start and end points.
- GeoLine2(double, double, double, double)
Initializes a new GeoLine2 instance from the coordinates of the endpoints.
Properties
- Direction
Gets the GeoVector2 pointing from start point to end point.
- EndPoint
Gets the end point of the line segment.
- IsValid
Gets whether this is a shape a constructor could have made: both ends are valid points.
- Length
Gets the length of the line segment.
- LengthSquared
Gets the squared length of the line segment.
- MidPoint
Gets the midpoint of the line segment.
- StartPoint
Gets the start point of the line segment.
Methods
- Clone()
Creates a copy of this line segment.
- CollidesWith(GeoArc2)
Determines whether this segment touches or overlaps an arc.
- CollidesWith(GeoArc2, Tolerance)
Determines whether this segment touches or overlaps an arc, within a tolerance.
- CollidesWith(GeoCircle2)
Checks whether this line segment collides / intersects with a circle using default tolerance.
- CollidesWith(GeoCircle2, Tolerance)
Checks whether this line segment collides / intersects with a circle within tolerance.
- CollidesWith(GeoEdge2)
Checks whether this segment touches an edge.
- CollidesWith(GeoEdge2, Tolerance)
Checks whether this segment touches an edge, within a tolerance.
- CollidesWith(GeoFace2)
Checks whether this segment reaches the material of a face, using the default tolerance.
- CollidesWith(GeoFace2, Tolerance)
Checks whether this segment reaches the material of a face, within a tolerance.
- CollidesWith(GeoLine2)
Checks whether this line segment collides / intersects with another line segment using default tolerance.
- CollidesWith(GeoLine2, Tolerance)
Checks whether this line segment collides / intersects with another line segment within tolerance.
- CollidesWith(GeoPolygon2)
Checks whether this line segment collides / intersects with a polygon using default tolerance.
- CollidesWith(GeoPolygon2, Tolerance)
Checks whether this line segment collides / intersects with a polygon within tolerance.
- CollidesWith(GeoPolygonArc2)
Determines whether this segment touches or overlaps a curved loop.
- CollidesWith(GeoPolygonArc2, Tolerance)
Determines whether this segment touches or overlaps a curved loop, within a tolerance.
- CollidesWith(GeoPolyline2)
Checks whether this line segment collides / intersects with a polyline using default tolerance.
- CollidesWith(GeoPolyline2, Tolerance)
Checks whether this line segment collides / intersects with a polyline within tolerance.
- CollidesWith(GeoPolylineArc2)
Determines whether this segment touches or overlaps a curved chain.
- CollidesWith(GeoPolylineArc2, Tolerance)
Determines whether this segment touches or overlaps a curved chain, within a tolerance.
- CollidesWith(GeoRectangle2)
Checks whether this line segment collides / intersects with a rectangle using default tolerance.
- CollidesWith(GeoRectangle2, Tolerance)
Checks whether this line segment collides / intersects with a rectangle within tolerance.
- CollidesWith(GeoTriangle2)
Checks whether this segment touches a triangle, using the default tolerance.
- CollidesWith(GeoTriangle2, Tolerance)
Checks whether this segment touches a triangle, within a tolerance.
- DistanceTo(GeoArc2)
Calculates the shortest distance from this segment to an arc.
- DistanceTo(GeoArc2, Tolerance)
Calculates the shortest distance from this segment to an arc, within a tolerance.
- DistanceTo(GeoCircle2)
Calculates the shortest distance from this line segment to a circle.
- DistanceTo(GeoEdge2)
Gets the distance from this segment to an edge.
- DistanceTo(GeoEdge2, Tolerance)
Gets the distance from this segment to an edge, within a tolerance.
- DistanceTo(GeoLine2)
Calculates the shortest distance from this line segment to another line segment using default tolerance.
- DistanceTo(GeoLine2, Tolerance)
Calculates the shortest distance from this line segment to another line segment within tolerance.
- DistanceTo(GeoPoint2)
Calculates the distance from a point to the closest point on this line segment.
- DistanceTo(GeoPolygon2)
Calculates the shortest distance from this line segment to a polygon.
- DistanceTo(GeoPolygonArc2)
Calculates the shortest distance from this segment to a curved loop.
- DistanceTo(GeoPolygonArc2, Tolerance)
Calculates the shortest distance from this segment to a curved loop, within a tolerance.
- DistanceTo(GeoPolyline2)
Calculates the shortest distance from this line segment to a polyline.
- DistanceTo(GeoPolylineArc2)
Calculates the shortest distance from this segment to a curved chain.
- DistanceTo(GeoPolylineArc2, Tolerance)
Calculates the shortest distance from this segment to a curved chain, within a tolerance.
- DistanceTo(GeoRectangle2)
Calculates the shortest distance from this line segment to a rectangle.
- DistanceTo(GeoTriangle2)
Gets the distance from this segment to a triangle.
- Equals(GeoLine2)
Indicates whether the current line segment is equal to another line segment.
- Equals(object)
Indicates whether this instance and a specified object are equal.
- Extend(double, LineEnd)
Lengthens one end of this segment by a distance, using default tolerance. A negative distance shortens it. See Lengthen2.
- Extend(double, LineEnd, Tolerance)
Lengthens one end of this segment by a distance, within tolerance. A negative distance shortens it.
- Extend(double, double)
Lengthens both ends of this segment, each by its own distance, using default tolerance. A negative distance shortens that end.
- Extend(double, double, Tolerance)
Lengthens both ends of this segment, each by its own distance, within tolerance. A negative distance shortens that end.
- ExtendToLength(double, LineEnd)
Moves one end of this segment so that it measures a given length, using default tolerance. The other end stays.
- ExtendToLength(double, LineEnd, Tolerance)
Moves one end of this segment so that it measures a given length, within tolerance. The other end stays.
- GetClosestEdge(GeoPolygon2)
Gets the edge of a polygon nearest this segment, using the default tolerance.
- GetClosestEdge(GeoPolygonArc2)
Gets the edge of a curved loop nearest this segment, using the default tolerance.
- GetClosestEdge(GeoPolygonArc2, Tolerance)
Gets the edge of a curved loop nearest this segment, within a tolerance.
- GetClosestEdge(GeoPolyline2)
Gets the edge of a polyline nearest this segment, using the default tolerance.
- GetClosestEdge(GeoPolylineArc2)
Gets the edge of a curved chain nearest this segment, using the default tolerance.
- GetClosestEdge(GeoPolylineArc2, Tolerance)
Gets the edge of a curved chain nearest this segment, within a tolerance.
- GetClosestEdge(GeoRectangle2)
Gets the edge of a rectangle nearest this segment, using the default tolerance.
- GetClosestEdge(GeoTriangle2)
Gets the edge of a triangle closest to this segment.
- GetClosestPointOnBoundary(GeoPoint2)
Gets the closest point on this line segment to a target point, clamped to the endpoints.
- GetDistanceAtParameter(double)
Gets the arc length from the start point of this line segment to a normalized parameter.
- GetDistanceAtPoint(GeoPoint2)
Gets the arc length from the start point of this line segment to the point on it closest to the supplied point.
- GetHashCode()
Returns the hash code for this instance.
- GetIntersection(GeoLine2)
Gets the intersection point with another line segment using default tolerance. Returns null if lines do not intersect.
- GetIntersection(GeoLine2, LineExtension)
Gets the intersection point with another line segment, reading this segment, the other or both as the infinite line carrying it, using default tolerance. Returns null if they do not meet.
- GetIntersection(GeoLine2, LineExtension, Tolerance)
Gets the intersection point with another line segment, reading this segment, the other or both as the infinite line carrying it, within tolerance. Returns null if they do not meet.
- GetIntersection(GeoLine2, Tolerance)
Gets the intersection point with another line segment within tolerance. Returns null if lines do not intersect.
- GetIntersections(GeoArc2)
Gets the points where this segment meets an arc.
- GetIntersections(GeoArc2, Tolerance)
Gets the points where this segment meets an arc, within a tolerance.
- GetIntersections(GeoCircle2)
Gets all intersection points with a circle using default tolerance.
- GetIntersections(GeoCircle2, Tolerance)
Gets all intersection points with a circle within tolerance.
- GetIntersections(GeoEdge2)
Gets every point where this segment crosses an edge.
- GetIntersections(GeoEdge2, Tolerance)
Gets every point where this segment crosses an edge, within a tolerance.
- GetIntersections(GeoFace2)
Gets every point where this segment crosses the boundary of a face, using the default tolerance.
- GetIntersections(GeoFace2, Tolerance)
Gets every point where this segment crosses the boundary of a face, within a tolerance.
- GetIntersections(GeoPolygon2)
Gets all intersection points with a polygon using default tolerance.
- GetIntersections(GeoPolygon2, Tolerance)
Gets all intersection points with a polygon within tolerance.
- GetIntersections(GeoPolygonArc2)
Gets the points where this segment meets a curved loop.
- GetIntersections(GeoPolygonArc2, Tolerance)
Gets the points where this segment meets a curved loop, within a tolerance.
- GetIntersections(GeoPolyline2)
Gets all intersection points with a polyline using default tolerance.
- GetIntersections(GeoPolyline2, Tolerance)
Gets all intersection points with a polyline within tolerance.
- GetIntersections(GeoPolylineArc2)
Gets the points where this segment meets a curved chain.
- GetIntersections(GeoPolylineArc2, Tolerance)
Gets the points where this segment meets a curved chain, within a tolerance.
- GetIntersections(GeoRectangle2)
Gets all intersection points with a rectangle using default tolerance.
- GetIntersections(GeoRectangle2, Tolerance)
Gets all intersection points with a rectangle within tolerance.
- GetIntersections(GeoTriangle2)
Gets every point where this segment meets the edges of a triangle, using the default tolerance.
- GetIntersections(GeoTriangle2, Tolerance)
Gets every point where this segment meets the edges of a triangle, within a tolerance.
- GetParameterAtDistance(double)
Gets the normalized parameter at an arc length measured from the start point of this line segment.
- GetParameterAtPoint(GeoPoint2)
Gets the normalized parameter of the point on this line segment closest to the supplied point. The point need not lie on the segment, so the result may fall outside [0, 1].
- GetPointAtDistance(double)
Gets the point at an arc length measured from the start point of this line segment.
- GetPointAtParameter(double)
Gets the point on the line segment at parameter t (t=0 is the start point, t=1 is the end point).
- GetShortestLineTo(GeoArc2)
Gets the shortest segment joining this segment to an arc.
- GetShortestLineTo(GeoArc2, Tolerance)
Gets the shortest segment joining this segment to an arc, within a tolerance.
- GetShortestLineTo(GeoCircle2)
Finds the shortest line segment connecting a point on this line segment to a point on the circumference of a circle using default tolerance.
- GetShortestLineTo(GeoCircle2, Tolerance)
Finds the shortest line segment connecting a point on this line segment to a point on the circumference of a circle within tolerance.
- GetShortestLineTo(GeoEdge2)
Gets the shortest segment leaving this segment and landing on an edge.
- GetShortestLineTo(GeoEdge2, Tolerance)
Gets the shortest segment leaving this segment and landing on an edge, within a tolerance.
- GetShortestLineTo(GeoFace2)
Gets the shortest segment leaving this segment and landing on the boundary of a face, using the default tolerance.
- GetShortestLineTo(GeoFace2, Tolerance)
Gets the shortest segment leaving this segment and landing on the boundary of a face, within a tolerance.
- GetShortestLineTo(GeoLine2)
Finds the shortest line segment connecting a point on this line segment to a point on another line segment using default tolerance.
- GetShortestLineTo(GeoLine2, Tolerance)
Finds the shortest line segment connecting a point on this line segment to a point on another line segment within tolerance.
- GetShortestLineTo(GeoPolygon2)
Finds the shortest line segment connecting a point on this line segment to a point on the boundary of a polygon using default tolerance.
- GetShortestLineTo(GeoPolygon2, Tolerance)
Finds the shortest line segment connecting a point on this line segment to a point on the boundary of a polygon within tolerance.
- GetShortestLineTo(GeoPolygonArc2)
Gets the shortest segment joining this segment to a curved loop.
- GetShortestLineTo(GeoPolygonArc2, Tolerance)
Gets the shortest segment joining this segment to a curved loop, within a tolerance.
- GetShortestLineTo(GeoPolyline2)
Finds the shortest line segment connecting a point on this line segment to a point on a polyline using default tolerance.
- GetShortestLineTo(GeoPolyline2, Tolerance)
Finds the shortest line segment connecting a point on this line segment to a point on a polyline within tolerance.
- GetShortestLineTo(GeoPolylineArc2)
Gets the shortest segment joining this segment to a curved chain.
- GetShortestLineTo(GeoPolylineArc2, Tolerance)
Gets the shortest segment joining this segment to a curved chain, within a tolerance.
- GetShortestLineTo(GeoRectangle2)
Finds the shortest line segment connecting a point on this line segment to a point on the boundary of a rectangle using default tolerance.
- GetShortestLineTo(GeoRectangle2, Tolerance)
Finds the shortest line segment connecting a point on this line segment to a point on the boundary of a rectangle within tolerance.
- GetShortestLineTo(GeoTriangle2)
Gets the shortest segment leaving this segment and landing on a triangle, using the default tolerance.
- GetShortestLineTo(GeoTriangle2, Tolerance)
Gets the shortest segment leaving this segment and landing on a triangle, within a tolerance.
- IsDegenerate()
Checks whether the segment is shorter than the default tolerance, so it has no usable direction.
- IsDegenerate(Tolerance)
Checks whether the segment is shorter than a tolerance, so it has no usable direction.
- IsEqualTo(GeoLine2)
Determines whether another segment runs between the same points, within the default tolerance.
- IsEqualTo(GeoLine2, Tolerance)
Determines whether another segment runs between the same points, within a tolerance.
- IsParallelTo(GeoLine2)
Checks whether this line segment is parallel to another line segment using default tolerance.
- IsParallelTo(GeoLine2, Tolerance)
Checks whether this line segment is parallel to another line segment within angular tolerance.
- IsParallelTo(GeoRectangle2)
Checks whether this line segment is parallel to any edge of a rotated rectangle using default tolerance.
- IsParallelTo(GeoRectangle2, Tolerance)
Checks whether this line segment is parallel to any edge of a rotated rectangle within angular tolerance.
- IsParallelTo(GeoTriangle2)
Checks whether this segment runs parallel to an edge of a triangle, using the default tolerance.
- IsParallelTo(GeoTriangle2, Tolerance)
Checks whether this segment runs parallel to an edge of a triangle, within a tolerance.
- IsParallelTo(GeoVector2)
Checks whether this line segment is parallel to a vector using default tolerance.
- IsParallelTo(GeoVector2, Tolerance)
Checks whether this line segment is parallel to a vector within angular tolerance.
- IsPerpendicularTo(GeoLine2)
Checks whether this line segment is perpendicular to another line segment using default tolerance.
- IsPerpendicularTo(GeoLine2, Tolerance)
Checks whether this line segment is perpendicular to another line segment within angular tolerance.
- IsPerpendicularTo(GeoVector2)
Checks whether this line segment is perpendicular to a vector using default tolerance.
- IsPerpendicularTo(GeoVector2, Tolerance)
Checks whether this line segment is perpendicular to a vector within angular tolerance.
- IsPointOn(GeoPoint2)
Checks whether a point lies on the line segment using default tolerance.
- IsPointOn(GeoPoint2, Tolerance)
Checks whether a point lies on the line segment within tolerance.
- Locate(GeoPoint2)
Classifies the location of a point relative to this line segment (OnSide or OutSide) using default tolerance.
- Locate(GeoPoint2, Tolerance)
Classifies the location of a point relative to this line segment (OnSide or OutSide) within tolerance.
- Offset(double)
Gets the segment parallel to this one at a distance to its left, using default tolerance. A negative distance moves it to the right. See Offset2.
- Offset(double, Tolerance)
Gets the segment parallel to this one at a distance to its left, within tolerance. A negative distance moves it to the right.
- OffsetThrough(GeoPoint2)
Gets the segment parallel to this one that passes through a point, using default tolerance.
- OffsetThrough(GeoPoint2, Tolerance)
Gets the segment parallel to this one that passes through a point, within tolerance.
- Reverse()
Gets the line segment running the other way.
- RotateBy(double, GeoPoint2)
Rotates the line segment around a center point by an angle in radians (counter-clockwise).
- SplitAtDistances(IEnumerable<double>)
Splits this segment at several arc lengths measured from its start point, using the default tolerance.
- SplitAtDistances(IEnumerable<double>, Tolerance)
Splits this segment at several arc lengths measured from its start point, within tolerance.
- ToLine3(GeoCoordinateSystem3)
Puts this segment of the plane back into space, on the plane of a frame.
- ToString()
Returns the string representation of the line segment.
- TransformBy(GeoTransform2)
Applies a transformation to this segment.
- Translate(GeoVector2)
Translates the line segment by a displacement vector.
- TryExtendTo(GeoCircle2, LineEnd, out GeoLine2)
Extends one end of this segment until it meets a circle, using default tolerance.
- TryExtendTo(GeoCircle2, LineEnd, out GeoLine2, Tolerance)
Extends one end of this segment until it meets a circle, within tolerance.
- TryExtendTo(GeoLine2, LineEnd, out GeoLine2)
Extends one end of this segment until it meets a boundary segment, using default tolerance.
- TryExtendTo(GeoLine2, LineEnd, out GeoLine2, Tolerance)
Extends one end of this segment until it meets a boundary segment, within tolerance.
- TryExtendTo(GeoPoint2, LineEnd, out GeoLine2)
Extends one end of this segment to the foot of the perpendicular from a point, using default tolerance.
- TryExtendTo(GeoPoint2, LineEnd, out GeoLine2, Tolerance)
Extends one end of this segment to the foot of the perpendicular from a point, within tolerance.
- TryExtendTo(GeoPolygon2, LineEnd, out GeoLine2)
Extends one end of this segment until it meets the boundary of a polygon, using default tolerance.
- TryExtendTo(GeoPolygon2, LineEnd, out GeoLine2, Tolerance)
Extends one end of this segment until it meets the boundary of a polygon, within tolerance.
- TryExtendTo(GeoPolyline2, LineEnd, out GeoLine2)
Extends one end of this segment until it meets a polyline, using default tolerance.
- TryExtendTo(GeoPolyline2, LineEnd, out GeoLine2, Tolerance)
Extends one end of this segment until it meets a polyline, within tolerance.
- TryExtendTo(GeoRectangle2, LineEnd, out GeoLine2)
Extends one end of this segment until it meets the boundary of a rectangle, using default tolerance.
- TryExtendTo(GeoRectangle2, LineEnd, out GeoLine2, Tolerance)
Extends one end of this segment until it meets the boundary of a rectangle, within tolerance.
- TryExtendTo(GeoTriangle2, LineEnd, out GeoLine2)
Extends this segment at one end to where it meets the edges of a triangle, using the default tolerance.
- TryExtendTo(GeoTriangle2, LineEnd, out GeoLine2, Tolerance)
Extends this segment at one end to where it meets the edges of a triangle, within a tolerance.
- TryIntersectWith(GeoArc2, out GeoPoint2[])
Tries to find where this segment crosses a arc, using the default tolerance.
- TryIntersectWith(GeoArc2, out GeoPoint2[], Tolerance)
Tries to find where this segment crosses a arc, within a tolerance.
- TryIntersectWith(GeoCircle2, out GeoPoint2[])
Tries to find where this segment crosses a circle, using the default tolerance.
- TryIntersectWith(GeoCircle2, out GeoPoint2[], Tolerance)
Tries to find where this segment crosses a circle, within a tolerance.
- TryIntersectWith(GeoLine2, LineExtension, out GeoPoint2)
Tries to calculate the intersection with another line segment, reading this segment, the other or both as the infinite line carrying it, using default tolerance.
- TryIntersectWith(GeoLine2, LineExtension, out GeoPoint2, Tolerance)
Tries to calculate the intersection with another line segment, reading this segment, the other or both as the infinite line carrying it, within tolerance.
- TryIntersectWith(GeoLine2, out GeoPoint2)
Tries to calculate the intersection with another line segment using default tolerance.
- TryIntersectWith(GeoLine2, out GeoPoint2, Tolerance)
Tries to calculate the intersection with another line segment within tolerance.
- TryIntersectWith(GeoPolygonArc2, out GeoPoint2[])
Tries to find where this segment crosses a curved loop, using the default tolerance.
- TryIntersectWith(GeoPolygonArc2, out GeoPoint2[], Tolerance)
Tries to find where this segment crosses a curved loop, within a tolerance.
- TryIntersectWith(GeoPolyline2, out GeoPoint2[])
Tries to find where this segment crosses a polyline, using the default tolerance.
- TryIntersectWith(GeoPolyline2, out GeoPoint2[], Tolerance)
Tries to find where this segment crosses a polyline, within a tolerance.
- TryIntersectWith(GeoPolylineArc2, out GeoPoint2[])
Tries to find where this segment crosses a curved chain, using the default tolerance.
- TryIntersectWith(GeoPolylineArc2, out GeoPoint2[], Tolerance)
Tries to find where this segment crosses a curved chain, within a tolerance.
- TrySplitAtDistance(double, out GeoLine2, out GeoLine2)
Splits this segment at an arc length measured from its start point, using the default tolerance.
- TrySplitAtDistance(double, out GeoLine2, out GeoLine2, Tolerance)
Splits this segment at an arc length measured from its start point, within tolerance.
- TrySplitBy(GeoLine2, out GeoLine2, out GeoLine2)
Splits this segment where a cutting line segment crosses it, using the default tolerance.
- TrySplitBy(GeoLine2, out GeoLine2, out GeoLine2, Tolerance)
Splits this segment where a cutting line segment crosses it, within tolerance.
- TrySplitBy(GeoLine2[], out GeoLine2[])
Splits this segment everywhere a list of cutting line segments crosses it, using the default tolerance.
- TrySplitBy(GeoLine2[], out GeoLine2[], Tolerance)
Splits this segment everywhere a list of cutting line segments crosses it, within tolerance.
- TrySplitBy(GeoPoint2, out GeoLine2, out GeoLine2)
Splits this segment at a point lying on it, using the default tolerance.
- TrySplitBy(GeoPoint2, out GeoLine2, out GeoLine2, Tolerance)
Splits this segment at a point lying on it, within tolerance.
- TrySplitBy(GeoPoint2[], out GeoLine2[])
Splits this segment everywhere a list of points lies on it, using the default tolerance.
- TrySplitBy(GeoPoint2[], out GeoLine2[], Tolerance)
Splits this segment everywhere a list of points lies on it, within tolerance.
- TrySplitBy(GeoPolygon2, out GeoLine2[], out GeoLine2[])
Splits this segment against a polygon, sorting the parts by which side of its boundary they fall on, using the default tolerance.
- TrySplitBy(GeoPolygon2, out GeoLine2[], out GeoLine2[], Tolerance)
Splits this segment against a polygon, sorting the parts by which side of its boundary they fall on, within tolerance.
- TrySplitBy(GeoPolygon2[], out GeoLine2[], out GeoLine2[])
Splits this segment everywhere a list of polygon boundaries crosses it, separating the parts that fall inside the polygons from those that fall outside, using the default tolerance.
- TrySplitBy(GeoPolygon2[], out GeoLine2[], out GeoLine2[], Tolerance)
Splits this segment everywhere a list of polygon boundaries crosses it, separating the parts that fall inside the polygons from those that fall outside, within tolerance.
- TrySplitBy(GeoPolyline2, out GeoLine2[])
Splits this segment everywhere a cutting polyline crosses it, using the default tolerance.
- TrySplitBy(GeoPolyline2, out GeoLine2[], Tolerance)
Splits this segment everywhere a cutting polyline crosses it, within tolerance.
- TrySplitBy(GeoPolyline2[], out GeoLine2[])
Splits this segment everywhere a list of polylines crosses it, using the default tolerance.
- TrySplitBy(GeoPolyline2[], out GeoLine2[], Tolerance)
Splits this segment everywhere a list of polylines crosses it, within tolerance.
- TryTrimExtendToCorner(GeoLine2, out GeoLine2, out GeoLine2)
Trims or extends this segment and another so that they meet in a corner, using default tolerance. Each keeps its end farther from the corner. See TryTrimExtendToCorner(GeoLine2, GeoLine2, out GeoLine2, out GeoLine2, Tolerance).
- TryTrimExtendToCorner(GeoLine2, out GeoLine2, out GeoLine2, Tolerance)
Trims or extends this segment and another so that they meet in a corner, within tolerance.
- TryTrimTo(GeoCircle2, LineEnd, out GeoLine2)
Trims one end of this segment back to the nearest place a circle crosses it, using default tolerance.
- TryTrimTo(GeoCircle2, LineEnd, out GeoLine2, Tolerance)
Trims one end of this segment back to the nearest place a circle crosses it, within tolerance.
- TryTrimTo(GeoLine2, LineEnd, out GeoLine2)
Trims one end of this segment back to where a boundary segment crosses it, using default tolerance.
- TryTrimTo(GeoLine2, LineEnd, out GeoLine2, Tolerance)
Trims one end of this segment back to where a boundary segment crosses it, within tolerance.
- TryTrimTo(GeoPoint2, LineEnd, out GeoLine2)
Trims one end of this segment back to the foot of the perpendicular from a point, using default tolerance.
- TryTrimTo(GeoPoint2, LineEnd, out GeoLine2, Tolerance)
Trims one end of this segment back to the foot of the perpendicular from a point, within tolerance.
- TryTrimTo(GeoPolygon2, LineEnd, out GeoLine2)
Trims one end of this segment back to the nearest place a polygon boundary crosses it, using default tolerance.
- TryTrimTo(GeoPolygon2, LineEnd, out GeoLine2, Tolerance)
Trims one end of this segment back to the nearest place a polygon boundary crosses it, within tolerance.
- TryTrimTo(GeoPolyline2, LineEnd, out GeoLine2)
Trims one end of this segment back to the nearest place a polyline crosses it, using default tolerance.
- TryTrimTo(GeoPolyline2, LineEnd, out GeoLine2, Tolerance)
Trims one end of this segment back to the nearest place a polyline crosses it, within tolerance.
- TryTrimTo(GeoRectangle2, LineEnd, out GeoLine2)
Trims one end of this segment back to the nearest place a rectangle boundary crosses it, using default tolerance.
- TryTrimTo(GeoRectangle2, LineEnd, out GeoLine2, Tolerance)
Trims one end of this segment back to the nearest place a rectangle boundary crosses it, within tolerance.
- TryTrimTo(GeoTriangle2, LineEnd, out GeoLine2)
Trims this segment at one end to where it meets the edges of a triangle, using the default tolerance.
- TryTrimTo(GeoTriangle2, LineEnd, out GeoLine2, Tolerance)
Trims this segment at one end to where it meets the edges of a triangle, within a tolerance.
Operators
- operator ==(GeoLine2, GeoLine2)
Compares two GeoLine2 instances for equality.
- operator !=(GeoLine2, GeoLine2)
Compares two GeoLine2 instances for inequality.