IntersectionEvent

References
public class IntersectionEvent
Provides all the information for a single Curve Intersection event.

Properties

IsOverlap

#ExampleSince v5.0
All curve intersection events are either a single point or an overlap.
public bool IsOverlap { get; }

IsPoint

#Since v5.0
All curve intersection events are either a single point or an overlap.
public bool IsPoint { get; }

OverlapA

#Since v5.0
Gets the interval on curve A where the overlap occurs. If the intersection type is not overlap, this value is meaningless.
public Interval OverlapA { get; }

OverlapB

#Since v5.0
Gets the interval on curve B where the overlap occurs. If the intersection type is not overlap, this value is meaningless.
public Interval OverlapB { get; }

ParameterA

#Since v5.0
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 double ParameterA { get; }

ParameterB

#Since v5.0
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 double ParameterB { get; }

PointA

#Since v5.0
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 Point3d PointA { get; }

PointA2

#Since v5.0
Gets the end point of the overlap on Curve A. If the intersection type is not overlap, this value is meaningless.
public Point3d PointA2 { get; }

PointB

#Since v5.0
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 Point3d PointB { get; }

PointB2

#Since v5.0
Gets the end point of the overlap on Curve B (or Surface B). If the intersection type is not overlap, this value is meaningless.
public Point3d PointB2 { get; }

Methods

CompareEquivalent

#Since v7.0
Compare intersection events.
public static bool CompareEquivalent(
eventA,
The first intersection event to compare.
eventB,
The second intersection event to compare.
relativePointTolerance,
The comparison tolerance. If RhinoMath.UnsetValue, then RhinoMath.SqrtEpsilon is used.
log
If not null and false is returned, then a description of the error is appended to log.
)

CompareEquivalent

#Since v7.0
Compare intersection events.
public static bool CompareEquivalent(
eventA,
The first intersection event to compare.
eventB,
The second intersection event to compare.
relativePointTolerance
The comparison tolerance. If RhinoMath.UnsetValue, then RhinoMath.SqrtEpsilon is used.
)
true if the two inputs represent the same intersection, false otherwise.

SurfaceOverlapParameter

#Since v5.0
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.
[ConstOperation] public void SurfaceOverlapParameter(
uDomain,
Domain along surface U direction for overlap event.
vDomain
Domain along surface V direction for overlap event.
)

SurfacePointParameter

#Since v5.0
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.
[ConstOperation] public void SurfacePointParameter(
out double
u,
Parameter on surface u direction where the intersection occurs.
out double
v
Parameter on surface v direction where the intersection occurs.
)