Skip to content

DiGi.ComputeSharp.Planar.Interfaces

github-actions[bot] edited this page Jul 15, 2026 · 3 revisions

DiGi.ComputeSharp.Planar.Interfaces Namespace

Interfaces

IGeometry2 Interface

Defines the contract for a two-dimensional geometric entity within the planar coordinate system. This interface extends the base geometry definitions to provide 2D-specific spatial properties and behaviors.

public interface IGeometry2 : DiGi.ComputeSharp.Core.Interfaces.IGeometry

Derived
Coordinate2
Line2
Triangle2

Implements IGeometry

IIntersection2 Interface

Represents the result of a geometric intersection operation in the planar (2D) coordinate system.

public interface IIntersection2 : DiGi.ComputeSharp.Core.Interfaces.IIntersection, DiGi.ComputeSharp.Core.Interfaces.IResult

Derived
Line2Intersection

Implements IIntersection, IResult

Methods

IIntersection2.GetIntersectionGeometries(Nullable<bool>) Method

Retrieves the geometries resulting from the intersection, optionally overriding the solidity of the result.

DiGi.ComputeSharp.Planar.Interfaces.IGeometry2[]? GetIntersectionGeometries(System.Nullable<bool> solid=null);

Parameters

solid System.Nullable<System.Boolean>

An optional override for whether the result should be treated as a solid geometry.

Returns

IGeometry2[]
An array of IGeometry2 objects representing the intersection, or null if no valid geometry exists.

Clone this wiki locally