Table of Contents

Class Tri3dUtil

Namespace
HiGeom.Geom
Assembly
HiGeom.dll

Utility of Tri3d. Include generator of triangles from points.

public static class Tri3dUtil
Inheritance
Tri3dUtil
Inherited Members

Methods

GenTrisByAlignedLists(IList<Vec3d>, IList<Vec3d>, IList<Tri3d>)

public static void GenTrisByAlignedLists(IList<Vec3d> ps, IList<Vec3d> rrps, IList<Tri3d> dst)

Parameters

ps IList<Vec3d>
rrps IList<Vec3d>
dst IList<Tri3d>

GenTrisByAlignedLoops(IList<Vec3d>, IList<Vec3d>, IList<Tri3d>)

public static void GenTrisByAlignedLoops(IList<Vec3d> ps, IList<Vec3d> rrps, IList<Tri3d> dst)

Parameters

ps IList<Vec3d>
rrps IList<Vec3d>
dst IList<Tri3d>

GenTrisByFan(IEnumerable<Vec3d>, Vec3d)

public static IEnumerable<Tri3d> GenTrisByFan(this IEnumerable<Vec3d> ps, Vec3d faceNormal = null)

Parameters

ps IEnumerable<Vec3d>
faceNormal Vec3d

Returns

IEnumerable<Tri3d>

GenTrisByNumAlignment(List<Vec3d>, List<Vec3d>, IList<Tri3d>)

public static void GenTrisByNumAlignment(List<Vec3d> psA, List<Vec3d> psB, IList<Tri3d> dst)

Parameters

psA List<Vec3d>
psB List<Vec3d>
dst IList<Tri3d>

GenTrisByQuad(Vec3d, Vec3d, Vec3d, Vec3d, IList<Tri3d>)

public static void GenTrisByQuad(Vec3d p0, Vec3d p1, Vec3d p2, Vec3d p3, IList<Tri3d> dst)

Parameters

p0 Vec3d
p1 Vec3d
p2 Vec3d
p3 Vec3d
dst IList<Tri3d>

GenTrisByStar(Vec3d, IList<Vec3d>, IList<Tri3d>)

public static void GenTrisByStar(Vec3d starP, IList<Vec3d> ps, IList<Tri3d> dst)

Parameters

starP Vec3d
ps IList<Vec3d>
dst IList<Tri3d>

GenTrisByStar(IList<Vec3d>, Vec3d, IList<Tri3d>)

public static void GenTrisByStar(IList<Vec3d> ps, Vec3d starP, IList<Tri3d> dst)

Parameters

ps IList<Vec3d>
starP Vec3d
dst IList<Tri3d>