internalBuild() private méthode

private internalBuild ( IGeometry geometry1, IGeometry geometry2 ) : void
geometry1 IGeometry
geometry2 IGeometry
Résultat void
Exemple #1
0
 /// <summary>
 /// Builds a planar graph of two geometries.
 /// </summary>
 /// <param name="geometry1">First geometry</param>
 /// <param name="geometry2">Second geometry</param>
 /// <param name="gridOrigin">Snapping grid origin</param>
 /// <returns>Planar graph of two geometries</returns>
 public static PlanarGraph BuildWithSnap(IGeometry geometry1, IGeometry geometry2, ICoordinate gridOrigin)
 {
     PlanarGraph graph = new PlanarGraph();
     graph._gridOrigin = gridOrigin;
     graph._performSnapping = true;
     graph.internalBuild(geometry1, geometry2);
     return graph;
 }
Exemple #2
0
 /// <summary>
 /// Builds a planar graph of two geometries.
 /// </summary>
 /// <param name="geometry1">First geometry</param>
 /// <param name="geometry2">Second geometry</param>
 /// <returns>Planar graph of two geometries</returns>
 public static PlanarGraph Build(IGeometry geometry1, IGeometry geometry2)
 {
     PlanarGraph graph = new PlanarGraph();
     graph.internalBuild(geometry1, geometry2);
     return graph;
 }