Click or drag to resize

Capsule2F Structure

Represents a single precision 2D capsule shape.
Inheritance Hierarchy
SystemObject
  SystemValueType
    NeoAxisCapsule2F

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

The Capsule2F type exposes the following members.

Constructors
 NameDescription
Public methodCapsule2F(Capsule2F)Initializes a new instance of the Capsule2F class
Public methodCapsule2F(Vector2F, Vector2F, Single)Initializes a new instance of the Capsule2F class
Top
Methods
 NameDescription
Public methodContains 
Public methodEquals(Object)
(Overrides ValueTypeEquals(Object))
Public methodEquals(Capsule2F, Single) 
Public methodGetCenter 
Public methodGetCenter(Vector2F) 
Public methodGetDirection 
Public methodGetDirection(Vector2F) 
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