Search Results for

    Show / Hide Table of Contents

    Class PlanarPolygon3D

    Models a polygon lying in a plane in 3-dimensional Cartesian space. The polygon representation is supplied by a Polygon, containing coordinates with XYZ ordinates. 3D polygons are assumed to lie in a single plane. The plane best fitting the polygon coordinates is computed and is represented by a Plane3D.

    Inheritance
    object
    PlanarPolygon3D
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: NetTopologySuite.Operation.Distance3D
    Assembly: NetTopologySuite.dll
    Syntax
    public class PlanarPolygon3D

    Constructors

    | Edit this page View Source

    PlanarPolygon3D(Polygon)

    Creates an instance of this class using the provided Polygon.

    Declaration
    public PlanarPolygon3D(Polygon poly)
    Parameters
    Type Name Description
    Polygon poly

    The polygon

    Properties

    | Edit this page View Source

    Plane

    Gets a value indicating the plane

    Declaration
    public Plane3D Plane { get; }
    Property Value
    Type Description
    Plane3D
    | Edit this page View Source

    Polygon

    Gets a value indicating the polygon

    Declaration
    public Polygon Polygon { get; }
    Property Value
    Type Description
    Polygon

    Methods

    | Edit this page View Source

    Intersects(Coordinate)

    Checks if intPt intersects with this PlanarPolygon3D.

    Declaration
    public bool Intersects(Coordinate intPt)
    Parameters
    Type Name Description
    Coordinate intPt

    The point to check

    Returns
    Type Description
    bool

    true if intPt intersects this PlanarPolygon3d.

    | Edit this page View Source

    Intersects(Coordinate, LineString)

    Checks if the point pt intersects with ring when projected to this instance's facing plane

    Declaration
    public bool Intersects(Coordinate pt, LineString ring)
    Parameters
    Type Name Description
    Coordinate pt

    A point

    LineString ring

    A ring

    Returns
    Type Description
    bool

    true if point and linestring intersect

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX