Show / Hide Table of Contents

Class GeoPolyline

The GeoPolyline Class, which is a container of the GeoMetricEntityBase. This Object contains both GeoArcs and GeoLines. This Object is essentially a wrapper over a System.Collections.Generic.List<T> where T is the GeoBase type.

Inheritance
System.Object
GeoBase
GeoPolyline
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
GeoBase.GeometryEntityType
GeoBase.PropertyChanged
GeoBase.OnPropertyChanged(String)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Dxflib.Geometry
Assembly: Dxflib.dll
Syntax
public class GeoPolyline : GeoBase, INotifyPropertyChanged

Constructors

| Improve this Doc View Source

GeoPolyline()

Default Constructor

Declaration
public GeoPolyline()
| Improve this Doc View Source

GeoPolyline(List<Double>, IReadOnlyList<Double>, IReadOnlyList<Double>, Boolean)

The Main GeoPolyLine Constructor

Declaration
public GeoPolyline(List<double> xValues, IReadOnlyList<double> yValues, IReadOnlyList<double> bulgeList, bool polylineFlag)
Parameters
Type Name Description
System.Collections.Generic.List<System.Double> xValues

X Coordinates

System.Collections.Generic.IReadOnlyList<System.Double> yValues

Y Coordinates

System.Collections.Generic.IReadOnlyList<System.Double> bulgeList

A List of Bulges

System.Boolean polylineFlag

The isClosed Property of a polyline

Properties

| Improve this Doc View Source

Area

The Total Area of the polyline

Declaration
public double Area { get; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

Length

The Total Length of the Polyline

Declaration
public double Length { get; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

SectionCount

The Total number of sections in the section list

Declaration
public int SectionCount { get; }
Property Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

Add(GeoBase)

Add a section to the geo polyline

Declaration
public void Add(GeoBase section)
Parameters
Type Name Description
GeoBase section
| Improve this Doc View Source

UpdateGeometry(String)

Override of the Update Geometry method from the GeoBase class

Declaration
protected override sealed void UpdateGeometry(string command = "")
Parameters
Type Name Description
System.String command
Overrides
GeoBase.UpdateGeometry(String)

Implements

System.ComponentModel.INotifyPropertyChanged
  • Improve this Doc
  • View Source
Back to top Generated by DocFX