C# Class Glare.Sphere2

A sphere definition, which has a position and radius.
Mostrar archivo Open project: Burton-Radons/Alexandria

Public Properties

Property Type Description
Position System.Vector2
Radius Length

Public Methods

Method Description
Sphere2 ( Length radius ) : System

Initialise a sphere centred at origin.

Sphere2 ( System.Vector2 position, Length radius ) : System

Initialise the Sphere3d.

Method Details

Sphere2() public method

Initialise a sphere centred at origin.
public Sphere2 ( Length radius ) : System
radius Length The radius of the .
return System

Sphere2() public method

Initialise the Sphere3d.
public Sphere2 ( System.Vector2 position, Length radius ) : System
position System.Vector2 The centre of the .
radius Length The radius of the .
return System

Property Details

Position public_oe property

Get or set the centre of the Sphere3d.
public Vector2,System Position
return System.Vector2

Radius public_oe property

Get or set the radius of the Sphere3d.
public Length Radius
return Length