Smrf.NodeXL.Visualization.Wpf.SolidTaperedDiamondVertexDrawingHistory.GetEdgeEndpoint C# (CSharp) Method

GetEdgeEndpoint() public method

public GetEdgeEndpoint ( Point otherEndpoint, Point &edgeEndpoint ) : void
otherEndpoint Point
edgeEndpoint Point
return void
    GetEdgeEndpoint
    (
        Point otherEndpoint,
        out Point edgeEndpoint
    )
    {
        AssertValid();

        // Ideally, this method would calculate an intersection point such that
        // the edge would be "aimed toward" the center but terminate on the
        // diamond's bounds, but those calculations are probably very complex.
        //
        // For now, just use the center of the diamond.

        edgeEndpoint = this.VertexLocation;
    }