Class DiagramElementGeometry
Represents geometry in Decision Model Diagram Elements
Inherited Members
Namespace: Quantellia.WMServer.DecisionModeler.Model.Diagram
Assembly: WMServer.dll
Syntax
public class DiagramElementGeometry
Constructors
DiagramElementGeometry()
Base constructor
Declaration
public DiagramElementGeometry()
DiagramElementGeometry(IEnumerable<double[]>)
Create a new linear geometry instance
Declaration
public DiagramElementGeometry(IEnumerable<double[]> pointList)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<double[]> | pointList |
DiagramElementGeometry(double, double)
Create a new point geometry instance.
Declaration
public DiagramElementGeometry(double X, double Y)
Parameters
Type | Name | Description |
---|---|---|
double | X | |
double | Y |
DiagramElementGeometry(string)
Constructor that de-serializes a GeoJson string.
Declaration
public DiagramElementGeometry(string geoJSON)
Parameters
Type | Name | Description |
---|---|---|
string | geoJSON |
Methods
ToJson()
Returns the GeoGJson representation of the geometry.
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
string |
ToObject()
Declaration
public GeoJSONObject ToObject()
Returns
Type | Description |
---|---|
GeoJSONObject |