예제 #1
0
    public void GetHLineFromTwoVertices()
    {
        Vertex   PVA = VA.GetComponent <Vertex>();
        HypPoint P1  = new HypPoint(PVA.XY);
        Vertex   PVB = VB.GetComponent <Vertex>();
        HypPoint P2  = new HypPoint(PVB.XY);

        HL = HTransform.GetHLineThruTwoPoints(P1, P2);
        if (Clipped)
        {
            DrawClippedLine();
        }
        else
        {
            DrawAllLine();
        }
        LineRendererSetPosition();
        //print(HTransform.GetHDistanceOfTwoPoints(x1,y1,x2,y2));
    }