NetTopologySuite
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
NetTopologySuite.Mathematics.Plane3D Class Reference

Models a plane in 3-dimensional Cartesian space. More...

Public Member Functions

 Plane3D (Vector3D normal, Coordinate basePt)
 
double OrientedDistance (Coordinate p)
 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)
More...
 
Plane 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. More...
 

Detailed Description

Models a plane in 3-dimensional Cartesian space.

<author>Martin Davis</author>

Member Function Documentation

Plane NetTopologySuite.Mathematics.Plane3D.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.

Returns
The index of the closest axis plane
double NetTopologySuite.Mathematics.Plane3D.OrientedDistance ( Coordinate  p)

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)

Parameters
pThe point to compute the distance for
Returns
The oriented distance to the plane

The documentation for this class was generated from the following file: