Intersect2d.RegionSegment Method

Appends new points to a list, that are intersection points between a region and a finit line segment.
Public Shared Function RegionSegment( _ 
ByVal reg As Region2d, _ 
ByVal segment As Line2d, _ 
ByVal res As List(Of Point2d) _ 
) As Integer
This language is not supported or no code example is available.
public static int RegionSegment( 
Region2d reg
Line2d segment
List<Point2d> res 
)
This language is not supported or no code example is available.
public:  
static int RegionSegment( 
Region2d^ reg
Line2d^ segment
List<Point2d^>^ res 
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Parameters

reg
Region2d

The region to intersect.

segment
Line2d

The segment to intersect.

res
List<Point2d>

The list to append intersection points to.

Return Value

int

The number of intersection points found. This is the number of points appended to the output list.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition