LuciadCPillar C# 2023.1.04
Luciad.Create.Geometries.PointCreator Class Reference

This class can create point instances. More...

Inheritance diagram for Luciad.Create.Geometries.PointCreator:
Luciad.Create.Geometries.IGeometryCreator

Public Member Functions

 PointCreator (Luciad.Geodesy.CoordinateReference reference)
 
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...
 

Properties

Luciad.Geometries.Constraints.IPointConstraint Constraint [get, set]
 

Detailed Description

This class can create point instances.

It reacts on mouse move events to position the point a mouse click to finish creation of the point. a touch tap to immediately create a point.

This class does not allow you to interactively choose the elevation of the point. The elevation will by default be set to 0. 2020.1

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::PointCreator.

Constructor & Destructor Documentation

◆ PointCreator()

Luciad.Create.Geometries.PointCreator.PointCreator ( Luciad.Geodesy.CoordinateReference  reference)
inline

Member Function Documentation

◆ Dispose()

void Luciad.Create.Geometries.PointCreator.Dispose ( )
inline

◆ OnEvent()

Luciad.Controllers.EventResult Luciad.Create.Geometries.PointCreator.OnEvent ( Luciad.Input.IInputEvent  inputEvent,
Luciad.Create.Features.FeatureCreateContext  context 
)
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.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::IGeometryCreator::onEvent.

Implements Luciad.Create.Geometries.IGeometryCreator.

◆ Start()

void Luciad.Create.Geometries.PointCreator.Start ( Luciad.Create.Geometries.IGeometryCreateCallback  callback,
Luciad.Create.Features.FeatureCreateContext  context 
)
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.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::IGeometryCreator::start.

Implements Luciad.Create.Geometries.IGeometryCreator.

Property Documentation

◆ Constraint

Luciad.Geometries.Constraints.IPointConstraint Luciad.Create.Geometries.PointCreator.Constraint
getset