fHtmGetCornerPoints(HtmID) converts an HTM triangle ID to an table of three
(x,y,z) vectors of the HTM triangle corners.
Namespace: Spherical.HtmAssembly: SphericalHtm (in SphericalHtm.dll) Version: 1.0.0.0
Syntax
C# |
---|
public static IEnumerable fHtmGetCornerPoints(
SqlInt64 HtmID
) |
Visual C++ |
---|
public:
static IEnumerable^ fHtmGetCornerPoints(
SqlInt64 HtmID
) |
F# |
---|
static member fHtmGetCornerPoints :
HtmID:SqlInt64 -> IEnumerable
|
Parameters
- HtmID
- Type: System.Data.SqlTypes..::..SqlInt64
long: the htm ID of the triangle. an unsigned bigint.
Return Value
IEnummerable VertexTable(x float, y float, z float)
with each row contining the (x,y,z) of a triangle corner point.
Examples
CopyC#
create function fHtmTovertices(@htmID bigint.)
returns VertexTable(x float, y float, z float)
as external name HTM.Sql.fHtmTovertices
select * from fHtmGetCornerPoints(8)
gives: x y z
1 0 0
0 0 -1
0 1 0
See Also