| CatmullRomSegment2FCreate Method |
Creates an instance of the
CatmullRomSegment2F class. (This method reuses a
previously recycled instance or allocates a new instance if necessary.)
Namespace: DigitalRune.Mathematics.InterpolationAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static CatmullRomSegment2F Create()
Public Shared Function Create As CatmullRomSegment2F
public:
static CatmullRomSegment2F^ Create()
static member Create : unit -> CatmullRomSegment2F
Return Value
Type:
CatmullRomSegment2F
A new or reusable instance of the
CatmullRomSegment2F class.
Remarks
This method tries to obtain a previously recycled instance from a resource pool if resource
pooling is enabled (see ResourcePool.Enabled). If no
object is available, a new instance is automatically allocated on the heap.
The owner of the object should call Recycle when the instance is no longer
needed.
See Also