Cog3DPlane MethodsCognex VisionPro 9.5

The Cog3DPlane type exposes the following members.

Methods

  NameDescription
Public methodClone
Creates a deep copy of this shape.
Public methodComputeArea
Determines the area of this shape. For an infinite shape, like Cog3DPlane, the area is 0.
Public methodComputeBoundingBox
Computes the axis-aligned bounding box for this shape.
Public methodComputeDistance
Computes the distance from this shape to the specified point. The point on this shape used to compute the distance is a function of ShapeState.
Public methodComputeDistanceSurface
Determines the distance from ComputeNearestPointSurface(point3D) to the specified point point3D.
Public methodComputeNearestPoint
Computes the point on this shape that is nearest to the specified point. The nearest point on this shape to the specified point is a function of ShapeState. If the nearest point is not unique, returns one of the nearest points.
Public methodComputeNearestPointSurface
Determines the point on this surface shape that is nearest to the specified point. If the nearest point on this surface shape is not unique, returns one of the nearest points.
Public methodComputeSignedDistance
Computes the signed distance from this plane to the specified point. The distance is positive if the point is on the same side of the plane as the normal.
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 
Dispose this object.
Protected methodDispose(Boolean)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Finalize this object.
(Overrides Object Finalize .)
Protected methodGetAttributes
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetClassName
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetComponentName
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetConverter
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetDefaultEvent
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetDefaultProperty
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetEditor
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetEvents 
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetEvents( Attribute )
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
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
Serializer for this object.
(Overrides CogSerializableObjectBase 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 CogObjectBase.)
Protected methodGetProperties( Attribute )
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetPropertyOwner
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Public methodGetRotation
Computes the rotation of this plane, where "rotation" is defined as the angle (in radians) between the projection of the plane Normal on the XY-plane and the X-axis, and normalized to the range [0, Math.PI * 2).
Public methodGetTilt
Computes the tilt of this plane, where "tilt" is defined as the angle (in radians) between the plane Normal and the Z-axis, and normalized to the range [0, Math.PI].
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.)
Public methodMapRigid
Maps this plane through the specified rigid transform and returns a Cog3DPlane.
Public methodMapShape
Creates a new shape by mapping this shape through the specified transform.
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 CogSerializableChangedEventBase.)
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 CogSerializableChangedEventBase.)
Public methodProjectVectorOntoPlane
Computes the vector resulting from projecting the specified vector onto this plane.
Public methodStatic memberRealEqual
Compares the internal state of the specified instances and returns true if the internal state is within epsilon.
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 CogSerializableChangedEventBase.)
Public methodSetNormalAndOffset
Sets this plane using the specified normal and an offset. The offset is the translation of the plane from the origin along the normal direction. The specified normal is normalized to a unit vector.

Note that the following point is on the plane: offset * normal3D / normal3D.Length

Public methodSetPointAndNormal
Sets this plane using the specified point (a point in the plane) and the specified normal. The specified normal is normalized to a unit vector.
Public methodSetPoints
Sets this plane according to the specified 3 points. If the 3 points are collinear or coincident, then the plane is degenerate, else constructs a plane with a normal determined by (pB - pA) crossProduct (pC - pA).
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 CogSerializableChangedEventBase.)
Public methodToString
Override of ToString method to get a string for describing this object.
(Overrides Object ToString .)
Top
See Also