| GeometricObjectCreateInstanceCore Method |
When implemented in a derived class, creates a new instance of the
GeometricObject derived class.
Namespace: DigitalRune.GeometryAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax protected virtual GeometricObject CreateInstanceCore()
Protected Overridable Function CreateInstanceCore As GeometricObject
protected:
virtual GeometricObject^ CreateInstanceCore()
abstract CreateInstanceCore : unit -> GeometricObject
override CreateInstanceCore : unit -> GeometricObject
Return Value
Type:
GeometricObjectThe 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
GeometricObject is created.
Notes to Inheritors: Every GeometricObject derived class must
implement this method. A typical implementation is to simply call the default constructor
and return the result.
See Also