Class CapsuleD
Inheritance
System.Object
CapsuleD
Assembly: VRage.Math.dll
Syntax
public sealed class CapsuleD : ValueType
Constructors
CapsuleD(Vector3D, Vector3D, Single)
Declaration
public CapsuleD(Vector3D p0, Vector3D p1, float radius)
Parameters
Fields
P0
Declaration
Field Value
P1
Declaration
Field Value
Radius
Declaration
Field Value
Type |
Description |
System.Single |
|
Methods
Intersect(LineD, ref Vector3D, ref Vector3D, ref Vector3, ref Vector3)
Declaration
public bool Intersect(LineD line, ref Vector3D p1, ref Vector3D p2, ref Vector3 n1, ref Vector3 n2)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Intersect(RayD, ref Vector3D, ref Vector3D, ref Vector3, ref Vector3)
Declaration
public bool Intersect(RayD ray, ref Vector3D p1, ref Vector3D p2, ref Vector3 n1, ref Vector3 n2)
Parameters
Returns
Type |
Description |
System.Boolean |
|