MeshLib C# Docs
Loading...
Searching...
No Matches

Generated from class MR.Sphere2f. This is the const half of the class. More...

Inheritance diagram for MR.Const_Sphere2f:

Classes

struct  _Underlying

Public Member Functions

virtual void Dispose ()
unsafe Const_Sphere2f ()
 Constructs an empty (default-constructed) instance.
unsafe Const_Sphere2f (MR.Const_Sphere2f _other)
 Generated from constructor MR.Sphere2f.Sphere2f.
 Const_Sphere2f (Sphere2f _other)
 Generated from constructor MR.Sphere2f.Sphere2f.
unsafe Const_Sphere2f (in MR.Vector2f c, float r)
 Generated from constructor MR.Sphere2f.Sphere2f.
unsafe MR.Vector2f project (in MR.Vector2f x)
 finds the closest point on sphere Generated from method MR.Sphere2f.project.
unsafe float distance (in MR.Vector2f x)
 returns signed distance from given point to this sphere: positive - outside, zero - on sphere, negative - inside Generated from method MR.Sphere2f.distance.
unsafe float distanceSq (in MR.Vector2f x)
 returns squared distance from given point to this sphere Generated from method MR.Sphere2f.distanceSq.
bool Equals (MR.Const_Sphere2f? b)
override bool Equals (object? other)

Static Public Member Functions

static unsafe bool operator== (MR.Const_Sphere2f a, MR.Const_Sphere2f b)
 Generated from function MR::operator==.
static unsafe bool operator!= (MR.Const_Sphere2f a, MR.Const_Sphere2f b)

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Protected Attributes

unsafe MR.Vector2f__ref_storage_center
unsafe float * __ref_storage_radius

Properties

unsafe ref readonly MR.Vector2f center [get]
unsafe float radius [get]

Detailed Description

Generated from class MR.Sphere2f. This is the const half of the class.

Constructor & Destructor Documentation

◆ Const_Sphere2f() [1/4]

unsafe MR.Const_Sphere2f.Const_Sphere2f ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_Sphere2f() [2/4]

unsafe MR.Const_Sphere2f.Const_Sphere2f ( MR.Const_Sphere2f _other)
inline

Generated from constructor MR.Sphere2f.Sphere2f.

◆ Const_Sphere2f() [3/4]

MR.Const_Sphere2f.Const_Sphere2f ( Sphere2f _other)
inline

Generated from constructor MR.Sphere2f.Sphere2f.

◆ Const_Sphere2f() [4/4]

unsafe MR.Const_Sphere2f.Const_Sphere2f ( in MR.Vector2f c,
float r )
inline

Generated from constructor MR.Sphere2f.Sphere2f.

Member Function Documentation

◆ Dispose() [1/2]

virtual void MR.Const_Sphere2f.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.Const_Sphere2f.Dispose ( bool disposing)
inlineprotectedvirtual

◆ distance()

unsafe float MR.Const_Sphere2f.distance ( in MR.Vector2f x)
inline

returns signed distance from given point to this sphere: positive - outside, zero - on sphere, negative - inside Generated from method MR.Sphere2f.distance.

◆ distanceSq()

unsafe float MR.Const_Sphere2f.distanceSq ( in MR.Vector2f x)
inline

returns squared distance from given point to this sphere Generated from method MR.Sphere2f.distanceSq.

◆ Equals() [1/2]

bool MR.Const_Sphere2f.Equals ( MR.Const_Sphere2f? b)
inline

◆ Equals() [2/2]

override bool MR.Const_Sphere2f.Equals ( object? other)
inline

◆ operator!=()

unsafe bool MR.Const_Sphere2f.operator!= ( MR.Const_Sphere2f a,
MR.Const_Sphere2f b )
inlinestatic

◆ operator==()

unsafe bool MR.Const_Sphere2f.operator== ( MR.Const_Sphere2f a,
MR.Const_Sphere2f b )
inlinestatic

Generated from function MR::operator==.

◆ project()

unsafe MR.Vector2f MR.Const_Sphere2f.project ( in MR.Vector2f x)
inline

finds the closest point on sphere Generated from method MR.Sphere2f.project.

Member Data Documentation

◆ __ref_storage_center

unsafe MR.Vector2f* MR.Const_Sphere2f.__ref_storage_center
protected

◆ __ref_storage_radius

unsafe float* MR.Const_Sphere2f.__ref_storage_radius
protected

Property Documentation

◆ center

unsafe ref readonly MR.Vector2f MR.Const_Sphere2f.center
get

◆ radius

unsafe float MR.Const_Sphere2f.radius
get

The documentation for this class was generated from the following file: