Click or drag to resize

Capsule2 Structure

Represents a double precision 2D capsule shape.
Inheritance Hierarchy
SystemObject
  SystemValueType
    NeoAxisCapsule2

Namespace: NeoAxis
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public struct Capsule2

The Capsule2 type exposes the following members.

Constructors
 NameDescription
Public methodCapsule2(Capsule2)Initializes a new instance of the Capsule2 class
Public methodCapsule2(Vector2, Vector2, Double)Initializes a new instance of the Capsule2 class
Top
Methods
 NameDescription
Public methodContains 
Public methodEquals(Object)
(Overrides ValueTypeEquals(Object))
Public methodEquals(Capsule2, Double) 
Public methodGetCenter 
Public methodGetCenter(Vector2) 
Public methodGetDirection 
Public methodGetDirection(Vector2) 
Public methodGetHashCode
(Overrides ValueTypeGetHashCode)
Public methodGetLength 
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToBounds 
Public methodToBounds(Rectangle) 
Public methodToStringReturns the fully qualified type name of this instance.
(Inherited from ValueType)
Top
Operators
Fields
 NameDescription
Public fieldPoint1 
Public fieldPoint2 
Public fieldRadius 
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also