Geometry.FillContainsWithDetail 方法

定義

傳回值,這個值描述幾何與所指定幾何的交集。

多載

FillContainsWithDetail(Geometry)

傳回值,這個值描述目前幾何與所指定幾何的交集。

FillContainsWithDetail(Geometry, Double, ToleranceType)

傳回值,這個值描述在指定的邊際誤差下,目前幾何與所指定幾何的交集。

FillContainsWithDetail(Geometry)

傳回值,這個值描述目前幾何與所指定幾何的交集。

public:
 System::Windows::Media::IntersectionDetail FillContainsWithDetail(System::Windows::Media::Geometry ^ geometry);
public System.Windows.Media.IntersectionDetail FillContainsWithDetail (System.Windows.Media.Geometry geometry);
member this.FillContainsWithDetail : System.Windows.Media.Geometry -> System.Windows.Media.IntersectionDetail
Public Function FillContainsWithDetail (geometry As Geometry) As IntersectionDetail

參數

geometry
Geometry

用來測試內含項目的幾何。

傳回

其中一個列舉值。

備註

判斷目前幾何是否包含指定的幾何時,會使用屬性) 所 StandardFlatteningTolerance 定義的預設容錯因數 (。 若要指定您自己的容錯因數,請使用 FillContainsWithDetail 方法。

某些 Geometry 方法 (例如 FillContainsWithDetail) 產生或使用幾何的多邊形近似值。 容錯因數會指定此多邊形近似值中點之間的最大距離。 較小的容錯值會產生較佳的近似值,但需要比具有大型容錯因數的近似值更多的處理。

適用於

FillContainsWithDetail(Geometry, Double, ToleranceType)

傳回值,這個值描述在指定的邊際誤差下,目前幾何與所指定幾何的交集。

public:
 virtual System::Windows::Media::IntersectionDetail FillContainsWithDetail(System::Windows::Media::Geometry ^ geometry, double tolerance, System::Windows::Media::ToleranceType type);
public virtual System.Windows.Media.IntersectionDetail FillContainsWithDetail (System.Windows.Media.Geometry geometry, double tolerance, System.Windows.Media.ToleranceType type);
abstract member FillContainsWithDetail : System.Windows.Media.Geometry * double * System.Windows.Media.ToleranceType -> System.Windows.Media.IntersectionDetail
override this.FillContainsWithDetail : System.Windows.Media.Geometry * double * System.Windows.Media.ToleranceType -> System.Windows.Media.IntersectionDetail
Public Overridable Function FillContainsWithDetail (geometry As Geometry, tolerance As Double, type As ToleranceType) As IntersectionDetail

參數

geometry
Geometry

用來測試內含項目的幾何。

tolerance
Double

在幾何多邊形近似法中,點之間的距離上限。 值越小,產生的結果越精確,但執行過程也會比較慢。 如果 tolerance 小於 .000001,則會改用 .000001。

type
ToleranceType

其中一個 ToleranceType 值,這個值會指定容錯因數為絕對值或相對於幾何區域的值。

傳回

其中一個列舉值。

備註

某些 Geometry 方法 (例如 FillContainsWithDetail) 產生或使用幾何的多邊形近似值。 容錯因數會指定此多邊形近似值中點之間的最大距離。 較小的容錯值會產生較佳的近似值,但需要比具有大型容錯因數的近似值更多的處理。

適用於