public enum CurveDensifyMethod : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Public Enum CurveDensifyMethod Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
public enum CurveDensifyMethod : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Public Enum CurveDensifyMethod Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
Member | Description |
---|---|
ByAngle | Densify parameter is angle increment. Line segments will become shorter as the curvature increases. For geodesic ellipses, the angle is with respect to the reference circle. |
ByDeviation | Densify parameter is deviation from the true curve. Line segments of varying length will be generated. The curve parameter specifies the maximum allowable distance between a line segment and the portion of the curve that it is approximating. |
ByLength | Densify parameter is curve length increment. Output line segments will be no longer than the parameter. This method cannot be used when constructing geodesic circles or ellipses |
MapPoint startPoint = MapPointBuilderEx.CreateMapPoint(0, 0); double tangentDirection = Math.PI / 6; ArcOrientation orientation = ArcOrientation.ArcCounterClockwise; double startRadius = double.PositiveInfinity; double endRadius = 0.2; ClothoidCreateMethod createMethod = ClothoidCreateMethod.ByAngle; double angle = Math.PI / 2; CurveDensifyMethod densifyMethod = CurveDensifyMethod.ByLength; double densifyParameter = 0.1; Polyline polyline = PolylineBuilderEx.CreatePolyline(startPoint, tangentDirection, startRadius, endRadius, orientation, createMethod, angle, densifyMethod, densifyParameter, SpatialReferences.WGS84); int numPoints = polyline.PointCount; MapPoint queryPoint = polyline.Points[numPoints - 2]; MapPoint pointOnPath; double radiusCalculated, tangentDirectionCalculated, lengthCalculated, angleCalculated; PolylineBuilderEx.QueryClothoidParameters(queryPoint, startPoint, tangentDirection, startRadius, endRadius, orientation, createMethod, angle, out pointOnPath, out radiusCalculated, out tangentDirectionCalculated, out lengthCalculated, out angleCalculated, SpatialReferences.WGS84);
System.Object
System.ValueType
System.Enum
ArcGIS.Core.Geometry.CurveDensifyMethod
Target Platforms: Windows 11, Windows 10