Table of Contents

Struct LineSegmentPoint

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

Line segment structure retrieved from cvHoughLines2

[Serializable]
[SuppressMessage("Design", "CA1051: Do not declare visible instance fields")]
public struct LineSegmentPoint : IEquatable<LineSegmentPoint>
Implements
Inherited Members

Constructors

LineSegmentPoint(Point, Point)

Constructor

Fields

P1

1st Point

P2

2nd Point

Methods

Equals(LineSegmentPoint)

Specifies whether this object contains the same members as the specified Object.

Equals(object?)

Specifies whether this object contains the same members as the specified Object.

GetHashCode()

Returns a hash code for this object.

IntersectedLineAndSegment(LineSegmentPoint, LineSegmentPoint)

Returns a boolean value indicating whether a line and a segment intersect.

IntersectedSegments(LineSegmentPoint)

Returns a boolean value indicating whether the specified two segments intersect.

IntersectedSegments(LineSegmentPoint, LineSegmentPoint)

Returns a boolean value indicating whether the specified two segments intersect.

Length()
LineAndSegmentIntersection(LineSegmentPoint, LineSegmentPoint)

Calculates a intersection of a line and a segment

LineIntersection(LineSegmentPoint)

Calculates a intersection of the specified two lines

LineIntersection(LineSegmentPoint, LineSegmentPoint)

Calculates a intersection of the specified two lines

Offset(Point)

Translates the Point by the specified amount.

Offset(int, int)

Translates the Point by the specified amount.

SegmentIntersection(LineSegmentPoint)

Calculates a intersection of the specified two segments

SegmentIntersection(LineSegmentPoint, LineSegmentPoint)

Calculates a intersection of the specified two segments

ToString()

Converts this object to a human readable string.

Operators

operator ==(LineSegmentPoint, LineSegmentPoint)

Compares two CvPoint objects. The result specifies whether the members of each object are equal.

operator !=(LineSegmentPoint, LineSegmentPoint)

Compares two CvPoint objects. The result specifies whether the members of each object are unequal.