CloneOrDefault() public static method

Creates a copy of the given object or the default object when given null.
public static CloneOrDefault ( PolygonBinaryOperationOptions options ) : PolygonBinaryOperationOptions
options PolygonBinaryOperationOptions The object to clone.
return PolygonBinaryOperationOptions
Ejemplo n.º 1
0
 /// <summary>
 /// Constructs a new polygon intersection operation using the given options.
 /// </summary>
 /// <param name="options">The operation options to apply.</param>
 /// <remarks>
 /// Using this constructor can help optimize other operators that
 /// rely on intersection operations, such as union or difference.
 /// </remarks>
 internal PolygonIntersectionOperation(PolygonBinaryOperationOptions options)
 {
     Options = PolygonBinaryOperationOptions.CloneOrDefault(options);
 }