Click or drag to resize
DigitalRuneGeometricObjectCreateInstanceCore Method
When implemented in a derived class, creates a new instance of the GeometricObject derived class.

Namespace: DigitalRune.Geometry
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
protected virtual GeometricObject CreateInstanceCore()

Return Value

Type: GeometricObject
The 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