LuciadCPillar C# 2026.0.04
Loading...
Searching...
No Matches
Luciad.Geometries.Line Class Referencesealed

Represents a line. More...

Inheritance diagram for Luciad.Geometries.Line:
Luciad.Geometries.Curve Luciad.Geometries.Geometry

Public Member Functions

 Line (Luciad.Cartesian.Coordinate startPoint, Luciad.Cartesian.Coordinate endPoint, Luciad.Geodesy.LineInterpolationType interpolationType, Luciad.Geodesy.CoordinateReference reference)
 Creates a line segment.
 Line (Luciad.Geometries.Line other)
 Copy constructor.
Public Member Functions inherited from Luciad.Geometries.Curve
virtual Luciad.Cartesian.Coordinate ComputePoint (double parameter)
 Computes a point of the curve, defined by the given parameter.
Public Member Functions inherited from Luciad.Geometries.Geometry
void Dispose ()

Properties

Luciad.Cartesian.Coordinate EndPoint [get]
 The end point of the line segment.
Luciad.Geodesy.LineInterpolationType InterpolationType [get]
 The interpolation type of the line segment.
Luciad.Cartesian.Coordinate StartPoint [get]
 The start point of the line segment.
Properties inherited from Luciad.Geometries.Curve
double Length2D [get]
 The length of the curve.
Properties inherited from Luciad.Geometries.Geometry
Luciad.Geometries.Bounds Bounds [get]
 The bounds for the geometry object.
Luciad.Geodesy.CoordinateReference Reference [get]
 The coordinate reference of the geometry.

Detailed Description

Represents a line.

See also
GeometryFactory.CreateLine

Constructor & Destructor Documentation

◆ Line() [1/2]

Luciad.Geometries.Line.Line ( Luciad.Geometries.Line other)
inline

Copy constructor.

Parameters
otherthe line to copy.

◆ Line() [2/2]

Luciad.Geometries.Line.Line ( Luciad.Cartesian.Coordinate startPoint,
Luciad.Cartesian.Coordinate endPoint,
Luciad.Geodesy.LineInterpolationType interpolationType,
Luciad.Geodesy.CoordinateReference reference )
inline

Creates a line segment.

Line objects can be created with the interpolation types:

  • linear
  • geodesic
  • rhumb

The interpolation types geodesic and rhumb are only allowed for geodetic coordinate references.

Parameters
startPointthe start point of the line
endPointthe end point of the line
interpolationTypethe interpolation type
referencethe reference of the line
Exceptions
System.ArgumentExceptionif the line cannot be constructed. For example for an invalid combination of coordinate reference and interpolation type.
Since
2025.0

Property Documentation

◆ EndPoint

Luciad.Cartesian.Coordinate Luciad.Geometries.Line.EndPoint
get

The end point of the line segment.

[get]

Returns the end point of the line segment.

◆ InterpolationType

Luciad.Geodesy.LineInterpolationType Luciad.Geometries.Line.InterpolationType
get

The interpolation type of the line segment.

[get]

Returns the interpolation type of the line segment. One of

  • LineInterpolationType.geodesic
  • LineInterpolationType.rhumb
  • LineInterpolationType.linear

◆ StartPoint

Luciad.Cartesian.Coordinate Luciad.Geometries.Line.StartPoint
get

The start point of the line segment.

[get]

Returns the start point of the line segment.