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
- centerVector2
- Center point of the shape. 
- radiusfloat
- Radius for the sphere. 
- normFunc<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
- radiusfloat
- Radius for the sphere. 
- normFunc<Vector2, float>
- This function is used to norm the points of the sphere.