public class MaskIntersection2D extends Object implements Mask2D
| Constructor and Description |
|---|
MaskIntersection2D(Collection<Mask2D> masks)
Create a new intersection.
|
MaskIntersection2D(Mask2D... mask)
Create a new intersection.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(Collection<Mask2D> masks)
Add some masks to the list.
|
void |
add(Mask2D... mask)
Add some masks to the list.
|
Collection<Mask2D> |
getMasks()
Get the masks that are tested with.
|
boolean |
test(Vector2D vector)
Returns true if the criteria is met.
|
public MaskIntersection2D(Collection<Mask2D> masks)
masks - a list of maskspublic MaskIntersection2D(Mask2D... mask)
mask - a list of maskspublic void add(Collection<Mask2D> masks)
masks - the maskspublic void add(Mask2D... mask)
mask - the maskspublic Collection<Mask2D> getMasks()
Copyright © 2010-2014. All Rights Reserved.