C# Class Glare.Sphere3

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

Public Properties

Property Type Description
Position System.Vector3
Radius Length

Public Methods

Method Description
Sphere3 ( Length radius ) : System

Initialise a sphere centred at origin.

Sphere3 ( System.Vector3 position, Length radius ) : System

Initialise the Sphere3d.

Method Details

Sphere3() public method

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

Sphere3() public method

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

Property Details

Position public property

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

Radius public property

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