<refpurpose>Creates a BOX3D defined by the given 3d point
geometries.</refpurpose>
</refnamediv>
-
<refsynopsisdiv>
<funcsynopsis>
<funcprototype>
<imagedata fileref="images/check.png" />
</imageobject>
</inlinemediaobject> This function supports 3d and will not drop the z-index.</para>
+ <para>Changed: 2.0.0 In prior versions this used to be called ST_MakeBox3D</para>
</refsection>
<para>Returns the 3-dimensional or 2-dimensional length of the geometry if it is a
linestring or multi-linestring. For 2-d lines it will just return the 2-d length (same as ST_Length and ST_Length2D)</para>
-
<para>&Z_support;</para>
+ <para>Changed: 2.0.0 In prior versions this used to be called ST_Length3D</para>
</refsection>
<note><para>Will return 0 for anything that is not a MULTILINESTRING or LINESTRING</para></note>
<note><para>This function is just an alias for ST_Length_Spheroid. </para></note>
-
<para>&Z_support;</para>
+ <para>Changed: 2.0.0 In prior versions this used to be called ST_Length_Spheroid3D</para>
</refsection>
<para>Returns the 3-dimensional perimeter of the geometry, if it
is a polygon or multi-polygon. If the geometry is 2-dimensional, then the 2-dimensional perimeter is returned. </para>
-
<para>&Z_support;</para>
+ <para>Changed: 2.0.0 In prior versions this used to be called ST_Perimeter3D</para>
</refsection>
</note>
<para>Enhanced: 2.0.0 support for Polyhedral surfaces, Triangles and TIN was introduced.</para>
+ <para>Changed: 2.0.0 In prior versions this used to be called ST_Extent3D</para>
<para>&Z_support;</para>
<para>&curve_support;</para>
<para>&P_support;</para>
CREATE CAST (chip AS geometry) WITH FUNCTION geometry(chip) AS IMPLICIT;
-- END CHIP --
+------------------------------------------------
+--Begin 3D functions --
+------------------------------------------------
+
+-- Renamed in 2.0.0 to ST_3DLength
+CREATE OR REPLACE FUNCTION ST_Length3D(geometry)
+ RETURNS FLOAT8
+ AS 'MODULE_PATHNAME', 'LWGEOM_length_linestring'
+ LANGUAGE 'C' IMMUTABLE STRICT;
+
+-- Renamed in 2.0.0 to ST_3DLength_spheroid
+CREATE OR REPLACE FUNCTION ST_Length_spheroid3D(geometry, spheroid)
+ RETURNS FLOAT8
+ AS 'MODULE_PATHNAME','LWGEOM_length_ellipsoid_linestring'
+ LANGUAGE 'C' IMMUTABLE STRICT
+ COST 100;
+
+-- Renamed in 2.0.0 to ST_3DPerimeter
+CREATE OR REPLACE FUNCTION ST_Perimeter3D(geometry)
+ RETURNS FLOAT8
+ AS 'MODULE_PATHNAME', 'LWGEOM_perimeter_poly'
+ LANGUAGE 'C' IMMUTABLE STRICT;
+
+-- Renamed in 2.0.0 to ST_3DMakeBox
+CREATE OR REPLACE FUNCTION ST_MakeBox3D(geometry, geometry)
+ RETURNS box3d
+ AS 'MODULE_PATHNAME', 'BOX3D_construct'
+ LANGUAGE 'C' IMMUTABLE STRICT;
+
+-- Renamed in 2.0.0 to ST_3DExtent
+CREATE AGGREGATE ST_Extent3D(
+ sfunc = ST_combine_bbox,
+ basetype = geometry,
+ stype = box3d
+ );
+--END 3D functions--
------------------------------------------------------------------------\r
-- Misures\r
------------------------------------------------------------------------\r
--- Availability: 1.2.2\r
+-- Availability: 2.0.0\r
CREATE OR REPLACE FUNCTION ST_3DLength(geometry)\r
RETURNS FLOAT8\r
AS 'MODULE_PATHNAME', 'LWGEOM_length_linestring'\r
\r
-- this is a fake (for back-compatibility)\r
-- uses 3d if 3d is available, 2d otherwise\r
--- Availability: 1.2.2\r
+-- Availability: 2.0.0\r
CREATE OR REPLACE FUNCTION ST_3DLength_spheroid(geometry, spheroid)\r
RETURNS FLOAT8\r
AS 'MODULE_PATHNAME','LWGEOM_length_ellipsoid_linestring'\r
LANGUAGE 'C' IMMUTABLE STRICT\r
COST 100;\r
\r
--- Availability: 1.2.2\r
+-- Availability: 2.0.0\r
CREATE OR REPLACE FUNCTION ST_3DPerimeter(geometry)\r
RETURNS FLOAT8\r
AS 'MODULE_PATHNAME', 'LWGEOM_perimeter_poly'\r
AS 'MODULE_PATHNAME', 'LWGEOM_makepoint3dm'\r
LANGUAGE 'C' IMMUTABLE STRICT;\r
\r
--- Availability: 1.2.2\r
+-- Availability: 2.0.0\r
CREATE OR REPLACE FUNCTION ST_3DMakeBox(geometry, geometry)\r
RETURNS box3d\r
AS 'MODULE_PATHNAME', 'BOX3D_construct'\r
AS 'MODULE_PATHNAME', 'BOX3D_combine'\r
LANGUAGE 'C' IMMUTABLE;\r
\r
--- Availability: 1.2.2\r
+-- Availability: 2.0.0\r
CREATE AGGREGATE ST_3DExtent(\r
sfunc = ST_combine_bbox,\r
basetype = geometry,\r