IntersectionEvent
ReferencesProvides all the information for a single Curve Intersection event.
Properties
All curve intersection events are either a single point or an overlap.
All curve intersection events are either a single point or an overlap.
Gets the interval on curve A where the overlap occurs. If the intersection type is not overlap, this value is meaningless.
Gets the interval on curve B where the overlap occurs. If the intersection type is not overlap, this value is meaningless.
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.
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.
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.
Gets the end point of the overlap on Curve A. If the intersection type is not overlap, this value is meaningless.
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.
Methods
public static bool CompareEquivalent(IntersectionEvent eventA, IntersectionEvent eventB, double relativePointTolerance, TextLog log)
Compare intersection events.
Parameters:
| eventA (IntersectionEvent) | The first intersection event to compare. |
| eventB (IntersectionEvent) | The second intersection event to compare. |
| relativePointTolerance (double) | The comparison tolerance. If RhinoMath.UnsetValue, then RhinoMath.SqrtEpsilon is used. |
| log (TextLog) | If not null and false is returned, then a description of the error is appended to log. |
public static bool CompareEquivalent(IntersectionEvent eventA, IntersectionEvent eventB, double relativePointTolerance)
Compare intersection events.
Parameters:
| eventA (IntersectionEvent) | The first intersection event to compare. |
| eventB (IntersectionEvent) | The second intersection event to compare. |
| relativePointTolerance (double) | The comparison tolerance. If RhinoMath.UnsetValue, then RhinoMath.SqrtEpsilon is used. |
Returns: true if the two inputs represent the same intersection, false otherwise.
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.
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.