Struct CircleSegment
circle structure retrieved from cvHoughCircle
Implements
Inherited Members
Namespace: OpenCvSharp
Assembly: OpenCvSharp.dll
Syntax
public struct CircleSegment
Constructors
| Improve this Doc View SourceCircleSegment(Point2f, Single)
Constructor
Declaration
public CircleSegment(Point2f center, float radius)
Parameters
Type | Name | Description |
---|---|---|
OpenCvSharp.Point2f | center | center |
System.Single | radius | radius |
Fields
| Improve this Doc View SourceCenter
Center coordinate of the circle
Declaration
public Point2f Center
Field Value
Type | Description |
---|---|
OpenCvSharp.Point2f |
Radius
Radius
Declaration
public float Radius
Field Value
Type | Description |
---|---|
System.Single |
Methods
| Improve this Doc View SourceEquals(CircleSegment)
Specifies whether this object contains the same members as the specified Object.
Declaration
public bool Equals(CircleSegment other)
Parameters
Type | Name | Description |
---|---|---|
CircleSegment | other | The Object to test. |
Returns
Type | Description |
---|---|
System.Boolean | This method returns true if obj is the same type as this object and has the same members as this object. |
Equals(Object)
Specifies whether this object contains the same members as the specified Object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The Object to test. |
Returns
Type | Description |
---|---|
System.Boolean | This method returns true if obj is the same type as this object and has the same members as this object. |
Overrides
GetHashCode()
Returns a hash code for this object.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | An integer value that specifies a hash value for this object. |
Overrides
ToString()
Converts this object to a human readable string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A string that represents this object. |
Overrides
Operators
| Improve this Doc View SourceEquality(CircleSegment, CircleSegment)
Compares two CvPoint objects. The result specifies whether the members of each object are equal.
Declaration
public static bool operator ==(CircleSegment lhs, CircleSegment rhs)
Parameters
Type | Name | Description |
---|---|---|
CircleSegment | lhs | A Point to compare. |
CircleSegment | rhs | A Point to compare. |
Returns
Type | Description |
---|---|
System.Boolean | This operator returns true if the members of left and right are equal; otherwise, false. |
Inequality(CircleSegment, CircleSegment)
Compares two CvPoint objects. The result specifies whether the members of each object are unequal.
Declaration
public static bool operator !=(CircleSegment lhs, CircleSegment rhs)
Parameters
Type | Name | Description |
---|---|---|
CircleSegment | lhs | A Point to compare. |
CircleSegment | rhs | A Point to compare. |
Returns
Type | Description |
---|---|
System.Boolean | This operator returns true if the members of left and right are unequal; otherwise, false. |