Show / Hide Table of Contents

Struct CircleSegment

circle structure retrieved from cvHoughCircle

Implements
IEquatable<CircleSegment>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: OpenCvSharp
Assembly: OpenCvSharp.dll
Syntax
public struct CircleSegment

Constructors

| Improve this Doc View Source

CircleSegment(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 Source

Center

Center coordinate of the circle

Declaration
public Point2f Center
Field Value
Type Description
OpenCvSharp.Point2f
| Improve this Doc View Source

Radius

Radius

Declaration
public float Radius
Field Value
Type Description
System.Single

Methods

| Improve this Doc View Source

Equals(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.

| Improve this Doc View Source

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
System.ValueType.Equals(System.Object)
| Improve this Doc View Source

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
System.ValueType.GetHashCode()
| Improve this Doc View Source

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
System.ValueType.ToString()

Operators

| Improve this Doc View Source

Equality(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.

| Improve this Doc View Source

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.

Implements

IEquatable<>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX