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.VisionPro3DAssembly: Cognex.VisionPro3D.Core (in Cognex.VisionPro3D.Core.dll) Version: 65.1.0.0
Syntax
The Cog3DAngleRange type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Cog3DAngleRange |
Construct this Cog3DAngleRange with the given start and end values. Note that if
end - start > 2*PI, then it constructs
a full angle range.
|
Methods
| Name | Description | |
|---|---|---|
| CreateFullRange |
Create a full range object.
| |
| Dilate |
Dilate this angle range by another angle range.
| |
| Equals | (Overrides ValueType Equals(Object).) | |
| GetHashCode | (Overrides ValueType GetHashCode .) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IsWithin |
Check whether a value is inside the angle range.
| |
| RealEqual |
Compares the internal state of the specified instances and returns
true if the internal state is within epsilon.
| |
| ToString |
Override of ToString method to get a string for describing this object.
(Overrides ValueType ToString .) |
Operators
| Name | Description | |
|---|---|---|
| Equality |
Compare two Cog3DAngleRange's.
| |
| Inequality |
Compare two Cog3DAngleRange's.
|
Properties
| Name | Description | |
|---|---|---|
| End |
Gets the end value of the angle range in radians.
| |
| Length |
Gets the length of the angle range in radians, and is defined as follows:
| |
| Middle |
Gets the middle of the angle range in radians.
| |
| RangeType |
Gets the type of the angle range.
| |
| Start |
Gets the start value of the angle range in radians.
|
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