LuciadCPillar C# 2023.1.04
|
This class can create patch instances, based on other created geometries. More...
Public Member Functions | |
PatchCreator (Luciad.Create.Geometries.IGeometryCreator delegateCreator) | |
void | Dispose () |
Luciad.Controllers.EventResult | OnEvent (Luciad.Input.IInputEvent inputEvent, Luciad.Create.Features.FeatureCreateContext context) |
Handles the given event, and returns if the event was handled or not. More... | |
void | Start (Luciad.Create.Geometries.IGeometryCreateCallback callback, Luciad.Create.Features.FeatureCreateContext context) |
This method is called to start creation. More... | |
Luciad.Controllers.EventResult | OnEvent (Luciad.Input.IInputEvent inputEvent, Luciad.Create.Features.FeatureCreateContext context) |
Handles the given event, and returns if the event was handled or not. More... | |
void | Start (Luciad.Create.Geometries.IGeometryCreateCallback callback, Luciad.Create.Features.FeatureCreateContext context) |
This method is called to start creation. More... | |
This class can create patch instances, based on other created geometries.
It is a wrapper class, that takes the result of another IGeometryCreator, and creates a Patch from Ring geometries that are created. If the wrapped creator does not create a Ring, it is left as-is. This creator doesn't consume any events itself, but it delegates the events to the wrapped creator instance. 2020.1
|
inline |
|
inline |
|
inline |
Handles the given event, and returns if the event was handled or not.
context
the context, cannot be nullptr
inputEvent
an event, cannot be nullptr
if the event was consumed or not
NullArgumentException
when nullptr is passed.
Implements Luciad.Create.Geometries.IGeometryCreator.
|
inline |
This method is called to start creation.
After this call, IGeometryCreator::onEvent can be called. When a IGeometryCreator was started, it can not be started again until it has finished. Implementations of this method are encouraged to throw an exception in that case to signal a programming error by the caller of this method.
context
the context, cannot be nullptr
callback
the callback to signal geometry changes, and whether creation for the geometry has finished, cannot be nullptr.
NullArgumentException
when nullptr is passed.
Implements Luciad.Create.Geometries.IGeometryCreator.