C# Class Glare.Sphere4

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

Public Properties

Property Type Description
Position System.Vector4
Radius Length

Public Methods

Method Description
Sphere4 ( Length radius ) : System

Initialise a sphere centred at origin.

Sphere4 ( System.Vector4 position, Length radius ) : System

Initialise the Sphere3d.

Method Details

Sphere4() public method

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

Sphere4() public method

Initialise the Sphere3d.
public Sphere4 ( System.Vector4 position, Length radius ) : System
position System.Vector4 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 Vector4,System Position
return System.Vector4

Radius public_oe property

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