Method Circle
Circle(Vector2, float, Func<Vector2, float>)
Creates a 2D Circle Shape.
public static IImplicitShape<GridPoint2> Circle(Vector2 center, float radius, Func<Vector2, float> norm)
Parameters
center
Vector2Center point of the shape.
radius
floatRadius for the sphere.
norm
Func<Vector2, float>This function is used to norm the points of the sphere.
Returns
Circle(float, Func<Vector2, float>)
Creates a 2D Circle Shape with center in (0,0)
public static IImplicitShape<GridPoint2> Circle(float radius, Func<Vector2, float> norm)
Parameters
radius
floatRadius for the sphere.
norm
Func<Vector2, float>This function is used to norm the points of the sphere.