Example #1
0
 public XPolygonSpatial(List <XVertex> _Vertexes)
 {
     Centroid    = XTools.CalculateCentroid(_Vertexes);
     Extent      = XTools.CalculateExtent(_Vertexes);
     AllVertexes = _Vertexes;
     Area        = XTools.CalculateArea(_Vertexes);
 }
Example #2
0
 public XLineSpatial(List <XVertex> _Vertexes)
 {
     Centroid    = XTools.CalculateCentroid(_Vertexes);
     Extent      = XTools.CalculateExtent(_Vertexes);
     AllVertexes = _Vertexes;
     Length      = XTools.CalculateLength(_Vertexes);
 }