Table of Contents

Class TopoLine3Hfr

Namespace
Hi.Geom.Topo
Assembly
HiDisp.dll

Topological 3D line (directed edge) with Fraction<decimal> coordinates. Maintains connectivity to adjacent reversed line and owning triangle. Corresponds to C++ topo_line3_t.

public class TopoLine3Hfr
Inheritance
TopoLine3Hfr
Inherited Members
Extension Methods

Fields

P0

Start point.

public readonly TopoPoint3Hfr P0

Field Value

TopoPoint3Hfr

P1

End point.

public readonly TopoPoint3Hfr P1

Field Value

TopoPoint3Hfr

ReversedLine

The reversed (opposite direction) line sharing the same two endpoints. Null if no adjacent triangle shares this edge in reverse.

public TopoLine3Hfr ReversedLine

Field Value

TopoLine3Hfr

Tri

The triangle that owns this directed line. Null if this line is not yet part of a triangle.

public TopoTri3Hfr Tri

Field Value

TopoTri3Hfr

Methods

ClearCache()

Clears cached arrow and direction.

public void ClearCache()

GetArrow()

Gets the arrow vector (P1 - P0) in fraction coordinates. Cached after first computation.

public Vec3Hfr GetArrow()

Returns

Vec3Hfr

GetDirection()

Gets the normalized direction vector in double precision. Cached after first computation.

public Vec3d GetDirection()

Returns

Vec3d

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.