NevronOpenVision
Nevron.Nov.Graphics Namespace / NEllipseSegment Structure / TryCreateFromThreePointsAngleAndRatio Method
angle between major ellipse axis and X-axis (in radians)
ratio between the major and minor ellipse axes, must be >= 1
resulting ellipse segment. Valid only if method returns true
In This Topic
    TryCreateFromThreePointsAngleAndRatio Method (NEllipseSegment)
    In This Topic
    Tries to create an ellipse segment, which passes throw the specified points and satisfies the angle and ratio parameters.
    Syntax
    public static System.bool TryCreateFromThreePointsAngleAndRatio( 
       NPoint start,
       NPoint control,
       NPoint end,
       System.double angle,
       System.double ratio,
       out NEllipseSegment segment
    )

    Parameters

    start
    control
    end
    angle
    angle between major ellipse axis and X-axis (in radians)
    ratio
    ratio between the major and minor ellipse axes, must be >= 1
    segment
    resulting ellipse segment. Valid only if method returns true

    Return Value

    true if succeeded, otherwise false
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also