/// <summary> /// Returns the curve which defines the shape and spatial location of this edge. /// </summary> /// <returns>The curve which defines the shape and spatial location of this edge.</returns> public virtual Curve GetGeometry() { if (EdgeStart == null || EdgeEnd == null) { Importer.TheLog.LogError(Id, "Invalid edge", true); return(null); } return(Line.CreateBound(EdgeStart.GetCoordinate(), EdgeEnd.GetCoordinate())); }