LuciadCPillar C# 2024.0.04
Luciad.Geometries.Constraints.PolylineChange Class Reference

Describes a change that was made to a Polyline geometry. More...

Inheritance diagram for Luciad.Geometries.Constraints.PolylineChange:

Public Member Functions

 PolylineChange ()
 Constructs an empty polyline change. More...
 
void AddInsertedPoint (uint insertedPointIndex)
 Adds the index of the point that is inserted. More...
 
void AddMovedPoint (uint movedPointIndex)
 Adds the index of the point that is moved. More...
 
void AddRemovedPoint (uint removedPointIndex)
 Adds the index of the point that is removed. More...
 
void Dispose ()
 
bool HasPointInserted (uint index)
 Returns true if the inserted points of this change contain the given index. More...
 
bool HasPointMoved (uint index)
 Returns true if the moved points of this change contain the given index. More...
 
bool HasPointRemoved (uint index)
 Returns true if the removed points of this change contain the given index. More...
 

Properties

System.Collections.Generic.IList< uint > InsertedPoints [get]
 The indices of the points in the new polyline that were inserted in this change. More...
 
System.Collections.Generic.IList< uint > MovedPoints [get]
 The indices of the points in the new polyline that were moved in this change. More...
 
System.Collections.Generic.IList< uint > RemovedPoints [get]
 The indices of the points in the old polyline that were removed in this change. More...
 
Luciad.Cartesian.? Coordinate Translation [get, set]
 The translation that was applied on the polyline. More...
 

Detailed Description

Describes a change that was made to a Polyline geometry.

Since
2020.1

Constructor & Destructor Documentation

◆ PolylineChange()

Luciad.Geometries.Constraints.PolylineChange.PolylineChange ( )
inline

Constructs an empty polyline change.

Member Function Documentation

◆ AddInsertedPoint()

void Luciad.Geometries.Constraints.PolylineChange.AddInsertedPoint ( uint  insertedPointIndex)
inline

Adds the index of the point that is inserted.

Parameters
insertedPointIndexthe index of the point in the new polyline that was inserted in this change.
See also
InsertedPoints

◆ AddMovedPoint()

void Luciad.Geometries.Constraints.PolylineChange.AddMovedPoint ( uint  movedPointIndex)
inline

Adds the index of the point that is moved.

Parameters
movedPointIndexthe index of the point in the new polyline that was moved in this change.
See also
MovedPoints

◆ AddRemovedPoint()

void Luciad.Geometries.Constraints.PolylineChange.AddRemovedPoint ( uint  removedPointIndex)
inline

Adds the index of the point that is removed.

Parameters
removedPointIndexthe index of the point in the old polyline that was removed in this change.
See also
RemovedPoints

◆ Dispose()

void Luciad.Geometries.Constraints.PolylineChange.Dispose ( )
inline

◆ HasPointInserted()

bool Luciad.Geometries.Constraints.PolylineChange.HasPointInserted ( uint  index)
inline

Returns true if the inserted points of this change contain the given index.

Parameters
indexthe point index in the new polyline.
Returns
true if the inserted points of this change contain the given index.

◆ HasPointMoved()

bool Luciad.Geometries.Constraints.PolylineChange.HasPointMoved ( uint  index)
inline

Returns true if the moved points of this change contain the given index.

Parameters
indexthe point index in the new polyline.
Returns
true if the moved points of this change contain the given index.

◆ HasPointRemoved()

bool Luciad.Geometries.Constraints.PolylineChange.HasPointRemoved ( uint  index)
inline

Returns true if the removed points of this change contain the given index.

Parameters
indexthe point index in the old polyline.
Returns
true if the removed points of this change contain the given index.

Property Documentation

◆ InsertedPoints

System.Collections.Generic.IList<uint> Luciad.Geometries.Constraints.PolylineChange.InsertedPoints
get

The indices of the points in the new polyline that were inserted in this change.

[get]

Returns the indices of the points in the new polyline that were inserted in this change.

◆ MovedPoints

System.Collections.Generic.IList<uint> Luciad.Geometries.Constraints.PolylineChange.MovedPoints
get

The indices of the points in the new polyline that were moved in this change.

[get]

Returns the indices of the points in the new polyline that were moved in this change. This only considers individual point moves, so if the whole polyline was translated, this method can still return false for individual points. For checking whether a translation took place, see Translation.

◆ RemovedPoints

System.Collections.Generic.IList<uint> Luciad.Geometries.Constraints.PolylineChange.RemovedPoints
get

The indices of the points in the old polyline that were removed in this change.

[get]

Returns the indices of the points in the old polyline that were removed in this change.

◆ Translation

Luciad.Cartesian.? Coordinate Luciad.Geometries.Constraints.PolylineChange.Translation
getset

The translation that was applied on the polyline.

[get]

Returns the translation that was applied on the polyline. This is the result of use the method Translate on the polyline. The value may be null if no translation happened.

[set]

Sets the translation that was applied on the polyline.

See also
Translation