CogIntersectCircleCircleTool ClassCognex VisionPro
Tool that determines the intersection of two circles.
Inheritance Hierarchy

System Object
  System MarshalByRefObject
    System.ComponentModel Component
      Cognex.VisionPro.Implementation CogComponentBase
        Cognex.VisionPro.Implementation CogSerializableComponentBase
          Cognex.VisionPro.Implementation CogSerializableChangedEventComponentBase
            Cognex.VisionPro.Implementation CogToolBase
              Cognex.VisionPro.Dimensioning CogIntersectCircleCircleTool

Namespace: Cognex.VisionPro.Dimensioning
Assembly: Cognex.VisionPro.Dimensioning (in Cognex.VisionPro.Dimensioning.dll) Version: 65.1.0.0
Syntax

[SerializableAttribute]
public class CogIntersectCircleCircleTool : CogToolBase, 
	ICogNetInternal, IDisposable

The CogIntersectCircleCircleTool type exposes the following members.

Constructors

  NameDescription
Public methodCogIntersectCircleCircleTool 
Constructs a new instance of this class.
Public methodCogIntersectCircleCircleTool(IntPtr)
Constructs a new instance of this class using com pointer.
Public methodCogIntersectCircleCircleTool(CogIntersectCircleCircleTool)
Constructs a new instance of this class as a deep copy of the given instance.
Top
Methods

  NameDescription
Protected methodCheckRunConditions
Check for run conditions including data binding.
(Inherited from CogToolBase.)
Protected methodCheckRunConditionsNoThrow
Check for run conditions including data binding, returning an exception for the first problem encountered.
(Inherited from CogToolBase.)
Protected methodClone
Returns a deep copy of this class instance. Derived classes that implement Clone should override this method; other clients who wish to clone this instance should call ICloneable.Clone. See also CogSerializer.DeepCopyObject.
(Overrides CogToolBase Clone .)
Public methodCreateCurrentRecord
Creates a new set of records that represents the tool's current state.
(Inherited from CogToolBase.)
Public methodCreateLastRunRecord
Creates a new set of records that represents the tool's last-run state.
(Inherited from CogToolBase.)
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodDispose 
Releases all resources used by the Component.
(Inherited from Component.)
Protected methodDispose(Boolean) (Overrides Component Dispose(Boolean).)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.)
Protected methodGetAttributes
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogComponentBase.)
Protected methodGetClassName
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogComponentBase.)
Protected methodGetComponentName
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogComponentBase.)
Protected methodGetConverter
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogComponentBase.)
Protected methodGetDefaultEvent
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogComponentBase.)
Protected methodGetDefaultProperty
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogComponentBase.)
Protected methodGetEditor
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogComponentBase.)
Protected methodGetEvents 
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogComponentBase.)
Protected methodGetEvents( Attribute )
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogComponentBase.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodGetObjectData (Overrides CogSerializableComponentBase GetObjectData(SerializationInfo, StreamingContext).)
Protected methodGetProperties 
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogComponentBase.)
Protected methodGetProperties( Attribute )
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogComponentBase.)
Protected methodGetPropertyOwner
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogComponentBase.)
Protected methodGetService
Returns an object that represents a service provided by the Component or by its Container.
(Inherited from Component.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodInternalCreateCurrentRecord (Overrides CogToolBase InternalCreateCurrentRecord(ICogRecord, Int32).)
Protected methodInternalCreateLastRunRecord (Overrides CogToolBase InternalCreateLastRunRecord(ICogRecord, Int32, Int32).)
Protected methodInternalRun (Overrides CogToolBase InternalRun(String ).)
Protected methodMemberwiseClone 
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Protected methodOnChanged(Int64)
This method should be called internally whenever the object's state may have changed.
(Inherited from CogSerializableChangedEventComponentBase.)
Protected methodOnChanged(CogChangedEventArgs)
This method may be called internally whenever a derived object's state may have changed and the derived object expresses this change via a derived CogChangedEventArgs class.
(Inherited from CogSerializableChangedEventComponentBase.)
Public methodOnDeserialization (Inherited from CogToolBase.)
Protected methodOnRan
Raises the Ran event.
(Inherited from CogToolBase.)
Protected methodOnRunning
Raises the Running event.
(Inherited from CogToolBase.)
Public methodResumeAndRaiseChangedEvent
Re-enables raising of the Changed event after SuspendChangedEvent has been called, and raises the Changed event if the ChangedEventSuspended count is reduced to zero and any changes were made while events were suspended. Must be called once for each call to SuspendChangedEvent.
(Inherited from CogSerializableChangedEventComponentBase.)
Public methodRun
Runs the tool using the current parameter settings.
(Overrides CogToolBase Run .)
Protected methodSetRunStatus
Cognex Internal use only.
(Inherited from CogToolBase.)
Public methodSuspendChangedEvent
Temporarily suspends the raising of the Changed event. May be called more than once, and a corresponding call to ResumeAndRaiseChangedEvent must be made for each call to SuspendChangedEvent.
(Inherited from CogSerializableChangedEventComponentBase.)
Public methodToString
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.)
Top
Fields

  NameDescription
Protected fieldCurrentRecordEnable_
Gets or sets the flags specifying the records to include based on the tool's current state. The derived class exposes this as a strongly- typed enum property.
(Inherited from CogToolBase.)
Protected fieldLastRunLastRunRecordDiagEnable_
Gets or sets the flags specifying the records to create during the next invocation of the Run method.
(Inherited from CogToolBase.)
Protected fieldLastRunRecordDiagEnable_
Gets or sets the flags specifying the diagnostics records to include based on the tool's last-run state. The derived class exposes this as a strongly-typed enum property.
(Inherited from CogToolBase.)
Protected fieldLastRunRecordEnable_
Gets or sets the flags specifying the records to include based on the tool's last-run state. The derived class exposes this as a strongly- typed enum property.
(Inherited from CogToolBase.)
Protected fieldProcessingTimeAdjustment_
Gets or sets the amount to offset reported tool processing time.
(Inherited from CogToolBase.)
Public fieldStatic memberSfCircleA
This bit will be set in the EventArgs of a Changed event every time the value returned by CircleA may have changed.
Public fieldStatic memberSfCircleB
This bit will be set in the EventArgs of a Changed event every time the value returned by CircleB may have changed.
Public fieldStatic memberSfCurrentRecordEnable
This bit will be set in the EventArgs of a Changed event every time the value returned by CurrentRecordEnable may have changed.
Public fieldStatic memberSfInputImage
This bit will be set in the EventArgs of a Changed event every time the value returned by InputImage may have changed.
Public fieldStatic memberSfIntersects
This bit will be set in the EventArgs of a Changed event every time the value returned by Intersects may have changed.
Public fieldStatic memberSfLastRunRecordDiagEnable
This bit will be set in the EventArgs of a Changed event every time the value returned by LastRunRecordDiagEnable may have changed.
Public fieldStatic memberSfLastRunRecordEnable
This bit will be set in the EventArgs of a Changed event every time the value returned by LastRunRecordEnable may have changed.
Public fieldStatic memberSfNumPoints
This bit will be set in the EventArgs of a Changed event every time the value returned by NumPoints may have changed.
Public fieldStatic memberSfX0
This bit will be set in the EventArgs of a Changed event every time the value returned by X0 may have changed.
Public fieldStatic memberSfX1
This bit will be set in the EventArgs of a Changed event every time the value returned by X1 may have changed.
Public fieldStatic memberSfX2
This bit will be set in the EventArgs of a Changed event every time the value returned by X2 may have changed.
Public fieldStatic memberSfX3
This bit will be set in the EventArgs of a Changed event every time the value returned by X3 may have changed.
Public fieldStatic memberSfY0
This bit will be set in the EventArgs of a Changed event every time the value returned by Y0 may have changed.
Public fieldStatic memberSfY1
This bit will be set in the EventArgs of a Changed event every time the value returned by Y1 may have changed.
Public fieldStatic memberSfY2
This bit will be set in the EventArgs of a Changed event every time the value returned by Y2 may have changed.
Public fieldStatic memberSfY3
This bit will be set in the EventArgs of a Changed event every time the value returned by Y3 may have changed.
Top
Properties

  NameDescription
Protected propertyCanRaiseEvents
Gets a value indicating whether the component can raise an event.
(Inherited from Component.)
Public propertyChangedEventSuspended
If nonzero, indicates that the raising of the Changed event has been suspended. This value is incremented when SuspendChangedEvent is called and decremented when ResumeAndRaiseChangedEvent is called.
(Inherited from CogSerializableChangedEventComponentBase.)
Public propertyCircleA
Returns or sets the given circle A.
Public propertyCircleB
Returns or sets the given circle B.
Public propertyContainer
Gets the IContainer that contains the Component.
(Inherited from Component.)
Public propertyCurrentRecordEnable
Enable creation of records by bitwise ORing the appropriate CurrentRecordConstants.
Public propertyDataBindings
Gets the data bindings for the tool.
(Inherited from CogToolBase.)
Protected propertyDesignMode
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)
Protected propertyEvents
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
Public propertyFailOnInvalidDataBinding
Specifies that the Run method is to fail if executed while one or more data bindings are invalid.
(Inherited from CogToolBase.)
Public propertyHasChanged (Inherited from CogSerializableChangedEventComponentBase.)
Public propertyInputImage
Returns or sets the input image.
Public propertyIntersects
Returns True if the circles intersect.
Public propertyLastRunRecordDiagEnable
Enable creation of records by bitwise ORing the appropriate LastRunRecordDiagConstants. These are diagnostic records that may cause the Tool to have a longer execution time.
Public propertyLastRunRecordEnable
Enable creation of records by bitwise ORing the appropriate LastRunRecordConstants.
Public propertyName
Gets or sets the name of the tool.
(Overrides CogToolBase Name.)
Public propertyNumPoints
Returns the number of intersection points (-1, 0, 1 or 2).
Public propertyRunStatus
Gets general information about the last call to Run.
(Overrides CogToolBase RunStatus.)
Public propertySite
Gets or sets the ISite of the Component.
(Inherited from Component.)
Public propertyStateFlags
Returns the complete set of state flags supported on this object. The flags may be indexed by name as shown in the following C# code snippet: if (changedObject.StateFlags["Color"] & eventArgs.StateFlags) { ... }
(Inherited from CogSerializableChangedEventComponentBase.)
Public propertyUserData
Gets a CogDictionary object that can be used to store application-specific information.
(Inherited from CogToolBase.)
Public propertyX0
Returns the X coordinate of the first intersection point. Valid only if NumPoints >= 1.
Public propertyX1
Returns the X coordinate of the second intersection point. Valid only if NumPoints >= 2.
Public propertyX2
Returns the X coordinate of the third intersection point. Valid only if NumPoints >= 3.
Public propertyX3
Returns the X coordinate of the fourth intersection point. Valid only if NumPoints >= 4.
Public propertyY0
Returns the Y coordinate of the first intersection point. Valid only if NumPoints >= 1.
Public propertyY1
Returns the Y coordinate of the second intersection point. Valid only if NumPoints >= 2.
Public propertyY2
Returns the Y coordinate of the third intersection point. Valid only if NumPoints >= 3.
Public propertyY3
Returns the Y coordinate of the fourth intersection point. Valid only if NumPoints >= 4.
Top
Events

  NameDescription
Public eventChanged
This event is raised when one or more parts of the object's state may have changed.
(Inherited from CogSerializableChangedEventComponentBase.)
Public eventDisposed
Occurs when the component is disposed by a call to the Dispose  method.
(Inherited from Component.)
Public eventRan
Event that is raised at the end of the tool's Run method.
(Inherited from CogToolBase.)
Public eventRunning
Event that is raised at the start of the tool's Run method.
(Inherited from CogToolBase.)
Top
Remarks

This interface is part of a tool wrapper for CogMath.IntersectCircleCircle(CogCircle, CogCircle, ICogImage, Int32 , Double , Double , Double , Double , Double , Double , Double , Double ) so that you can use it in QuickBuild.

If you want to use IntersectCircleCircle(CogCircle, CogCircle, ICogImage, Int32 , Double , Double , Double , Double , Double , Double , Double , Double ) in your application, you should use it directly.

If you are using QuickBuild, you should use the CogIntersectCircleCircleTool control in the QuickBuild's Job Editor toolbox.

There is virtually no case in which you should use this interface or any part of CogIntersectCircleCircleTool directly in your application.

Primary interface of CogIntersectCircleCircleTool.

See Also