VintaSoft Imaging .NET SDK 14.1: Documentation for .NET developer
Vintasoft.Imaging.Dicom.Mpr.UI Namespace / MprPolylineSliceView Class / IsPointOnObject Methods / IsPointOnObject(Single,Single,Boolean) Method
Syntax Requirements SeeAlso
In This Topic
    IsPointOnObject(Single,Single,Boolean) Method (MprPolylineSliceView)
    In This Topic
    Returns a value indicating whether point belongs the selection.
    Syntax
    'Declaration
    
    Public Overloads Overrides Function IsPointOnObject( _
    ByVal x
    X coordinate of point in object space.
    As Single, _
    ByVal y
    Y coordinate of point in object space.
    As Single, _
    ByVal ignoreContainmentCheckDistance
    A value indicating whether the point must be checked on the object only (ignore the "containment" region around object that is used for object selection).
    As Boolean _
    ) As Boolean
    public override bool IsPointOnObject(
    float x,
    float y,
    bool ignoreContainmentCheckDistance
    )
    public: bool IsPointOnObject(
    float x,
    float y,
    bool ignoreContainmentCheckDistance
    ); override
    public:
    bool IsPointOnObject(
    float x,
    float y,
    bool ignoreContainmentCheckDistance
    ); override

    Parameters

    x
    X coordinate of point in object space.
    y
    Y coordinate of point in object space.
    ignoreContainmentCheckDistance
    A value indicating whether the point must be checked on the object only (ignore the "containment" region around object that is used for object selection).

    Return Value

    True if point belongs this region; otherwise, false.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also