LuciadCPillar C# 2025.0.12
Loading...
Searching...
No Matches
Luciad.Cartesian.Coordinate Struct Reference

A "POD" for a 3D coordinate. More...

Inheritance diagram for Luciad.Cartesian.Coordinate:

Public Member Functions

 Coordinate (double x, double y, double z=0.0)
 Constructs a coordinate with the provide values for x, y, and z.
bool Equals (Coordinate other)
override bool Equals (object other)
override int GetHashCode ()
 Returns the hash for this coordinate.
override string ToString ()

Static Public Member Functions

static bool operator!= (Coordinate lhs, Coordinate rhs)
static Coordinate operator* (Coordinate lhs, double factor)
static Coordinate operator+ (Coordinate lhs, Coordinate rhs)
static Coordinate operator- (Coordinate lhs, Coordinate rhs)
static Coordinate operator/ (Coordinate lhs, double factor)
static bool operator== (Coordinate lhs, Coordinate rhs)

Properties

double X [get]
 The x value of the coordinate.
double Y [get]
 The y value of the coordinate.
double Z [get]
 The z value of the coordinate.

Detailed Description

A "POD" for a 3D coordinate.

Not a geometry, to be used as primitive in geometries.

Constructor & Destructor Documentation

◆ Coordinate()

Luciad.Cartesian.Coordinate.Coordinate ( double x,
double y,
double z = 0::0 )
inline

Constructs a coordinate with the provide values for x, y, and z.

Parameters
xthe x value of the coordinate.
ythe y value of the coordinate.
zthe z value of the coordinate.

Member Function Documentation

◆ Equals() [1/2]

bool Luciad.Cartesian.Coordinate.Equals ( Coordinate other)
inline

◆ Equals() [2/2]

override bool Luciad.Cartesian.Coordinate.Equals ( object other)
inline

◆ GetHashCode()

override int Luciad.Cartesian.Coordinate.GetHashCode ( )
inline

Returns the hash for this coordinate.

Returns
the hash for this coordinate.

◆ operator!=()

bool Luciad.Cartesian.Coordinate.operator!= ( Coordinate lhs,
Coordinate rhs )
inlinestatic

◆ operator*()

Coordinate Luciad.Cartesian.Coordinate.operator* ( Coordinate lhs,
double factor )
inlinestatic

◆ operator+()

Coordinate Luciad.Cartesian.Coordinate.operator+ ( Coordinate lhs,
Coordinate rhs )
inlinestatic

◆ operator-()

Coordinate Luciad.Cartesian.Coordinate.operator- ( Coordinate lhs,
Coordinate rhs )
inlinestatic

◆ operator/()

Coordinate Luciad.Cartesian.Coordinate.operator/ ( Coordinate lhs,
double factor )
inlinestatic

◆ operator==()

bool Luciad.Cartesian.Coordinate.operator== ( Coordinate lhs,
Coordinate rhs )
inlinestatic

◆ ToString()

override string Luciad.Cartesian.Coordinate.ToString ( )
inline

Property Documentation

◆ X

double Luciad.Cartesian.Coordinate.X
get

The x value of the coordinate.

[get]

The x value of the coordinate.

◆ Y

double Luciad.Cartesian.Coordinate.Y
get

The y value of the coordinate.

[get]

The y value of the coordinate.

◆ Z

double Luciad.Cartesian.Coordinate.Z
get

The z value of the coordinate.

[get]

The z value of the coordinate.