Show / Hide Table of Contents

Class CapsuleD

Inheritance
System.Object
CapsuleD
Namespace: VRageMath
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
Type Name Description
Vector3D p0
Vector3D p1
System.Single radius

Fields

P0

Declaration
public Vector3D P0
Field Value
Type Description
Vector3D

P1

Declaration
public Vector3D P1
Field Value
Type Description
Vector3D

Radius

Declaration
public float Radius
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
Type Name Description
LineD line
Vector3D p1
Vector3D p2
Vector3 n1
Vector3 n2
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
Type Name Description
RayD ray
Vector3D p1
Vector3D p2
Vector3 n1
Vector3 n2
Returns
Type Description
System.Boolean
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾