Click or drag to resize

LineReductionClippingPolylineBuilderP Class

Class for building a polyline out of several single line snippets. Internally used by the clipping algorithm, this class does all the work of storing and reducing the points passed in from the clipping algorithm.
Inheritance Hierarchy
SystemObject
  Ptv.XServer.Controls.Map.ToolsLineReductionClippingPolylineBuilderP

Namespace:  Ptv.XServer.Controls.Map.Tools
Assembly:  Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax
public class PolylineBuilder<P>
where P : class, new()

Type Parameters

P
Polyline type.

The LineReductionClippingPolylineBuilderP type exposes the following members.

Constructors
  NameDescription
Public methodLineReductionClippingPolylineBuilderP
Initializes a new instance of the LineReductionClippingPolylineBuilderP class
Top
Properties
  NameDescription
Public propertyPolyline
Gets the resulting polylines, after appending several single lines using Append.
Top
Methods
  NameDescription
Public methodAppend
Appends the line specified by p0 and p1 to the polyline. The given points are added only if necessary; that is, if their corresponding pixel coordinates differ from the pixel coordinates of the tail of the polyline. Setting either force_p0 or force_p1 to true forces the points to be added without further checks.
Top
Extension Methods
  NameDescription
Public Extension MethodToJson
Converts an object to a JSON string representation.
(Defined by JSONWriter.)
Top
See Also