Document Solutions for PDF
GrapeCity.Documents.DX.Windows Assembly / GrapeCity.Documents.DX.Direct2D Namespace / Geometry Class / Compare Method / Compare(Geometry) Method
The geometry to test.

In This Topic
    Compare(Geometry) Method
    In This Topic
    Describes the intersection between this geometry and the specified geometry. The comparison is performed by using the specified flattening tolerance.
    Syntax
    'Declaration
     
    Public Overloads Function Compare( _
       ByVal inputGeometry As Geometry _
    ) As GeometryRelation
    public GeometryRelation Compare( 
       Geometry inputGeometry
    )

    Parameters

    inputGeometry
    The geometry to test.

    Return Value

    When this method returns, contains a reference to a value that describes how this geometry is related to inputGeometry. You must allocate storage for this parameter.
    Remarks
    When interpreting the returned relation value, it is important to remember that the member C1.Win.DX.Direct2D.GeometryRelation.IsContained of the D2D1_GEOMETRY_RELATION enumeration type means that this geometry is contained inside inputGeometry, not that this geometry contains inputGeometry. For more information about how to interpret other possible return values, see C1.Win.DX.Direct2D.GeometryRelation.
    See Also