예제 #1
0
    public void AddRiver(List <DisplayNode> riverNodes)
    {
        DisplayPoly poly = new DisplayPoly(riverNodes);

        poly.boundingBox = BoundingBoxUtil.BoundingBox(riverNodes);
        poly.color       = Color.blue;
        poly.type        = PolyType.River;

        displayPolys.Add(poly);
    }
예제 #2
0
    public void AddArea(Color color, List <DisplayNode> areaBounds)
    {
        DisplayPoly poly = new DisplayPoly(areaBounds);

        poly.boundingBox = BoundingBoxUtil.BoundingBox(areaBounds);
        poly.color       = color;
        poly.type        = PolyType.Area;

        displayPolys.Add(poly);
    }