Cog3DAngleRange StructureCognex VisionPro 9.7
This value class describes an angle range and associated operations. An angle range can have a range type of Cog3DRangeTypeConstants.Full, or .Empty, or .Partial. If the range type is Cog3DRangeTypeConstants:Partial, it has a start value and an end value.

Namespace: Cognex.VisionPro3D
Assembly: Cognex.VisionPro3D.Core (in Cognex.VisionPro3D.Core.dll) Version: 73.0.0.0
Syntax

[SerializableAttribute]
public struct Cog3DAngleRange

The Cog3DAngleRange type exposes the following members.

Constructors

  NameDescription
Public methodCog3DAngleRange
Construct this Cog3DAngleRange with the given start and end values. Note that if end - start > 2*PI, then it constructs a full angle range.
Top
Methods

  NameDescription
Public methodStatic memberCreateFullRange
Create a full range object.
Public methodDilate
Dilate this angle range by another angle range.
Public methodEquals (Overrides ValueType Equals(Object).)
Public methodGetHashCode (Overrides ValueType GetHashCode .)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsWithin
Check whether a value is inside the angle range.
Public methodStatic memberRealEqual
Compares the internal state of the specified instances and returns true if the internal state is within epsilon.
Public methodToString
Override of ToString method to get a string for describing this object.
(Overrides ValueType ToString .)
Top
Operators

  NameDescription
Public operatorStatic memberEquality
Compare two Cog3DAngleRange's.
Public operatorStatic memberInequality
Compare two Cog3DAngleRange's.
Top
Properties

  NameDescription
Public propertyEnd
Gets the end value of the angle range in radians.
Public propertyLength
Gets the length of the angle range in radians, and is defined as follows:
  • If RangeType is Cog3DRangeTypeConstants.Full, Length is 2 * Math.PI.
  • If RangeType is Cog3DRangeTypeConstants.Empty,Length is 0.
  • If RangeType is Cog3DRangeTypeConstants.Partial, Length is (End -Start).
Public propertyMiddle
Gets the middle of the angle range in radians.
Public propertyRangeType
Gets the type of the angle range.
Public propertyStart
Gets the start value of the angle range in radians.
Top
Remarks

  • This class is immutable - it may not be changed once it has been constructed.
  • The default constructor creates an object with an empty angle range.
See Also