Smrf.NodeXL.Visualization.Wpf.CollapsedGroupDrawingManager.GetCircleSegment C# (CSharp) Method

GetCircleSegment() protected method

protected GetCircleSegment ( Rect oVertexBounds, Double dAngleRadians, Double dGraphScale ) : System.Windows.Media.PathGeometry
oVertexBounds System.Windows.Rect
dAngleRadians Double
dGraphScale Double
return System.Windows.Media.PathGeometry
    GetCircleSegment
    (
        Rect oVertexBounds,
        Double dAngleRadians,
        Double dGraphScale
    )
    {
        Debug.Assert(dGraphScale >= GraphDrawer.MinimumGraphScale);
        Debug.Assert(dGraphScale <= GraphDrawer.MaximumGraphScale);
        AssertValid();

        return ( WpfPathGeometryUtil.GetCircleSegment(
            WpfGraphicsUtil.GetRectCenter(oVertexBounds),
            FanMotifRadius * dGraphScale, dAngleRadians) );
    }