Table of Contents

Class Area

Namespace
NetTopologySuite.Algorithm
Assembly
NetTopologySuite.dll

Functions for computing area.

public static class Area
Inheritance
Area
Inherited Members

Methods

OfRing(CoordinateSequence)

Computes the area for a ring.

public static double OfRing(CoordinateSequence ring)

Parameters

ring CoordinateSequence

The coordinates forming the ring

Returns

double

The area of the ring

OfRing(Coordinate[])

Computes the area for a ring.

public static double OfRing(Coordinate[] ring)

Parameters

ring Coordinate[]

The coordinates forming the ring

Returns

double

The area of the ring

OfRingSigned(CoordinateSequence)

Computes the signed area for a ring. The signed area is positive if the

valuemeaning
> 0The ring is oriented clockwise (CW)
< 0The ring is oriented counter clockwise (CCW)
== 0The ring is degenerate or flat
ring is oriented CW, negative if the ring is oriented CCW, and zero if the ring is degenerate or flat.
public static double OfRingSigned(CoordinateSequence ring)

Parameters

ring CoordinateSequence

The coordinates forming the ring

Returns

double

The signed area of the ring

OfRingSigned(Coordinate[])

Computes the signed area for a ring. The signed area is positive if the ring is oriented CW, negative if the ring is oriented CCW, and zero if the ring is degenerate or flat.

public static double OfRingSigned(Coordinate[] ring)

Parameters

ring Coordinate[]

The coordinates forming the ring

Returns

double

The signed area of the ring