Table of Contents

Class Octant

Namespace
NetTopologySuite.Noding
Assembly
NetTopologySuite.dll

Methods for computing and working with Octants of the Cartesian plane.

public static class Octant
Inheritance
Octant
Inherited Members

Methods

GetOctant(Coordinate, Coordinate)

Returns the octant of a directed line segment from p0 to p1.

public static Octants GetOctant(Coordinate p0, Coordinate p1)

Parameters

p0 Coordinate
p1 Coordinate

Returns

Octants

GetOctant(double, double)

Returns the octant of a directed line segment (specified as x and y displacements, which cannot both be 0).

public static Octants GetOctant(double dx, double dy)

Parameters

dx double
dy double

Returns

Octants