|
LuciadCPillar C# 2025.0.12
|
A patch is a surface based on a single ring, thus not having any holes. More...
Public Member Functions | |
| bool | Contains2D (Luciad.Cartesian.Coordinate point) |
| Returns if this patch contains the given point. | |
| Public Member Functions inherited from Luciad.Geometries.Geometry | |
| void | Dispose () |
Properties | |
| Luciad.Geometries.Ring | BaseGeometry [get] |
| The base ring geometry on which the patch is based. | |
| Properties inherited from Luciad.Geometries.Geometry | |
| Luciad.Geometries.Bounds | Bounds [get] |
| The bounds for the geometry object. | |
| Luciad.Geodesy.CoordinateReference | Reference [get] |
| The coordinate reference of the geometry. | |
A patch is a surface based on a single ring, thus not having any holes.
You can read more about the available geometries here.
GeometryFactory.CreatePatch
|
inline |
Returns if this patch contains the given point.
For these calculations, the height value of the given point or base geometry is ignored. I.e. only the horizontal coordinates are taken into account.
Limitations:
CompositeRing as base geometry. In that case, an exception is thrown. PolylineRing base geometries, a spherical approximation is used. PolylineRing base geometries, LineInterpolationType.Linear is not supported. | point | a point, defined in the same reference as the reference of this Patch |
| System.ArgumentException | when calling this function on a patch with a geodetic PolylineRing base geometry with linear interpolation. |
|
get |
The base ring geometry on which the patch is based.
Returns the base ring geometry on which the patch is based.