IntersectionEvent
Provides all the information for a single Curve Intersection event.
Inheritance Hierarchy
System.Object
Rhino.Geometry.Intersect.IntersectionEvent
Namespace: Rhino.Geometry.Intersect
Assembly: RhinoCommon (in RhinoCommon.dll)
Syntax
public class IntersectionEvent
The IntersectionEvent type exposes the following members.
Constructors
Name
Description
Public Method
IntersectionEvent
Initializes a new instance of the IntersectionEvent class
Properties
Name
Description
Public Property
Code Example
IsOverlap
All curve intersection events are either a single point or an overlap.
Public Property
IsPoint
All curve intersection events are either a single point or an overlap.
Public Property
OverlapA
Gets the interval on curve A where the overlap occurs. If the intersection type is not overlap, this value is meaningless.
Public Property
OverlapB
Gets the interval on curve B where the overlap occurs. If the intersection type is not overlap, this value is meaningless.
Public Property
ParameterA
Gets the parameter on Curve A where the intersection occurred. If the intersection type is overlap, then this will return the start of the overlap region.
Public Property
ParameterB
Gets the parameter on Curve B where the intersection occurred. If the intersection type is overlap, then this will return the start of the overlap region.
Public Property
PointA
Gets the point on Curve A where the intersection occurred. If the intersection type is overlap, then this will return the start of the overlap region.
Public Property
PointA2
Gets the end point of the overlap on Curve A. If the intersection type is not overlap, this value is meaningless.
Public Property
PointB
Gets the point on Curve B (or Surface B) where the intersection occurred. If the intersection type is overlap, then this will return the start of the overlap region.
Public Property
PointB2
Gets the end point of the overlap on Curve B (or Surface B). If the intersection type is not overlap, this value is meaningless.
Methods
Name
Description
Public Method
Static Member
CompareEquivalent(IntersectionEvent, IntersectionEvent, Double)
Compare intersection events.
Public Method
Static Member
CompareEquivalent(IntersectionEvent, IntersectionEvent, Double, TextLog)
Compare intersection events.
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected Method
Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected Method
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public Method
SurfaceOverlapParameter
If this instance records a Curve|Surface intersection event, and the intersection type if overlap, then use this function to get the U and V domains on the surface where the overlap occurs.
Public Method
SurfacePointParameter
If this instance records a Curve|Surface intersection event, and the intersection type is point, then use this function to get the U and V parameters on the surface where the intersection occurs.
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object.)