| ConvexHullOfPointsCreateInstanceCore Method |
When implemented in a derived class, creates a new instance of the
Shape
derived class.
Namespace: DigitalRune.Geometry.ShapesAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax protected override Shape CreateInstanceCore()
Protected Overrides Function CreateInstanceCore As Shape
protected:
virtual Shape^ CreateInstanceCore() override
abstract CreateInstanceCore : unit -> Shape
override CreateInstanceCore : unit -> Shape
Return Value
Type:
ShapeThe new instance.
Remarks
Do not call this method directly (except when calling base in an implementation). This
method is called internally by the Clone method whenever a new instance of the
Shape is created.
Notes to Inheritors: Every Shape derived class must implement
this method. A typical implementation is to simply call the default constructor and return
the result.
See Also