This value class describes a range and associated operations.
A 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: 73.0.0.0
Syntax
The Cog3DRange type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Cog3DRange |
Construct this Cog3DRange with the given start and end values.
|
Methods
| Name | Description | |
|---|---|---|
| CreateFullRange |
Create a full range object.
| |
| Dilate |
Dilate this range by another range.
| |
| Equals | (Overrides ValueType Equals(Object).) | |
| Erode |
Erode this range by another range.
| |
| GetHashCode | (Overrides ValueType GetHashCode .) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Intersect |
Intersect this range with another range.
| |
| IsWithin |
Check whether a value is inside the range.
| |
| RealEqual |
Compares the internal state of the specified instances and returns
true if the internal state is within epsilon.
| |
| Scale |
Scale this range by the given amount.
| |
| ToString |
Override of ToString method to get a string for describing this object.
(Overrides ValueType ToString .) | |
| Translate |
Translate this range by the given amount.
|
Operators
| Name | Description | |
|---|---|---|
| Equality |
Compare two Cog3DRange's.
| |
| Inequality |
Compare two Cog3DRange's.
|
Properties
| Name | Description | |
|---|---|---|
| End |
Gets the end value of the range.
| |
| Length |
Gets the length of the range, and is defined as follows:
| |
| Middle |
Gets the middle of the range.
| |
| RangeType |
Gets the type of the range.
| |
| Start |
Gets the start value of the range.
|
Remarks
- This class is immutable - it may not be changed once it has been constructed.
- The default constructor creates an object with an empty range.
See Also