Table of Contents

Class Plane3D

Namespace
NetTopologySuite.Mathematics
Assembly
NetTopologySuite.dll

Models a plane in 3-dimensional Cartesian space.

public class Plane3D
Inheritance
Plane3D
Inherited Members

Constructors

Plane3D(Vector3D, Coordinate)

public Plane3D(Vector3D normal, Coordinate basePt)

Parameters

normal Vector3D
basePt Coordinate

Methods

ClosestAxisPlane()

Computes the axis plane that this plane lies closest to.

Geometries lying in this plane undergo least distortion (and have maximum area) when projected to the closest axis plane. This provides optimal conditioning for computing a Point-in-Polygon test.
public Plane ClosestAxisPlane()

Returns

Plane

The index of the closest axis plane

OrientedDistance(Coordinate)

Computes the oriented distance from a point to the plane.
The distance is:

  • positive if the point lies above the plane (relative to the plane normal)
  • zero if the point is on the plane
  • negative if the point lies below the plane (relative to the plane normal)
public double OrientedDistance(Coordinate p)

Parameters

p Coordinate

The point to compute the distance for

Returns

double

The oriented distance to the plane