Share

Autodesk.AutoCAD.Geometry.ClipCondition Enumeration

Description

This .NET enum wraps the AcGe::ClipCondition ObjectARX enum. It gives information about the spatial relationship between the input polygon and the clip boundary.

Visual Basic

Public Enum ClipCondition
  Invalid
  AllSegmentsInside
  SegmentsIntersect
  AllSegmentsOutsideZeroWinds
  AllSegmentsOutsideOddWinds
  AllSegmentsOutsideEvenWinds
End Enum

C#

public enum ClipCondition {
  Invalid,
  AllSegmentsInside,
  SegmentsIntersect,
  AllSegmentsOutsideZeroWinds,
  AllSegmentsOutsideOddWinds,
  AllSegmentsOutsideEvenWinds
}

Members

Members Description
Invalid An error was detected in the clipping process, probably due to improper initialization of the object.
AllSegmentsInside All input segments lie inside the clip region.
SegmentsIntersect One or more of the input segments crosses the clip boundary.
AllSegmentsOutsideZeroWinds All input segments lie outside the clip region, and the clip region is not encircled by the input polygon.
AllSegmentsOutsideOddWinds All input segments lie outside the clip region, but the clip region is encircled by the input polygon an odd number of times. This normally indicates that the clip region is inside the region enclosed by the input polygon. If the input polyline is NOT a closed polygon, then the encircling count is only approximate.
AllSegmentsOutsideEvenWinds All input segments lie outside the clip region, but the clip region is encircled by the input polygon an even number of times. Depending on the user's polygon fill algorithm, the clip region may be considered inside or outside the region enclosed by the input polygon. If the input polyline is NOT a closed polygon, then the encircling count is only approximate.

Was this information helpful?