MindFusion.Charting for WPF Programmer's Guide
Triangle Members
Constructors Fields Properties Methods
 


Triangle class.

The following tables list the members exposed by the Triangle type.

 Public Constructors

  Name Description

Triangle

Overloaded.  

 Protected Fields

  Name Description

m_a

The a-vertex.

m_ab

Identifies the ab side.

m_abDet

The ab-determination.

m_abDetCalcd

The ab-determination.

m_abLen

The a-length.

m_abLenCalcd

The ab-length.

m_b

The b-vertex.

m_bc

Identifies the bc side.

m_bcDet

The bc-determination.

m_bcDetCalcd

The bc-determination.

m_bcLen

The b-length.

m_bcLenCalcd

The bc-length.

m_c

The c-vertex.

m_ca

Identifies the ca side.

m_caDet

The ca-determination.

m_caDetCalcd

The ca-determination.

m_caLen

The c-length.

m_caLenCalcd

The ca-length.

m_center

Identifies the center vertex.

m_centerComputed

Identifies the center.

m_index

Index of this triangle for debug.

 Public Properties

  Name Description

A

Vertex A

AB

Triangle AB shares side AB.

AB_Length

Length of AB, cached and lazy calculated.

Area

Area of the triangle.

B

Vertex B

BC

Triangle BC shares side BC.

BC_Length

Length of BC, cached and lazy calculated.

C

Vertex C

CA

Triangle CA shares side CA.

CA_Length

Length of CA, cached and lazy calculated.

Center

Compute the center

FarthestFromCenter

Farthest distance a point is from center is distance squared.

Index

Index.

RegionCode

Which search region it is in.

 Protected Properties

  Name Description

abDet

AB det.

bcDet

BC det.

caDet

CA det.

 Public Methods

  Name Description

Contains

Does this contain t.

Edge

Get the indexed edge.

Edge_Length

Return the indexed edge length;

GetVertex

Vertex.

Inside

Is this rectangle within the region.

OpositeOfEdge

Return the oposite of the edge.

RepairEdges

Repair any Edge links, both ways.

ResetIndex

Reset the index, indexing gives each triangle an ID unique since construction of the mesh.

SetEdge

Set the edge by index.

SetVertex

Set the vertex by index.

ToString

To string.

VertexAngleRadians

Get the angle of a vertex in radians.

VertexCosineAngle

Get the cosine angle associated with a vertex.

 Protected Methods

  Name Description

bothIn

Checks if both vertexes are in.

vertexTest

Vertex sidedness test.

 See Also

Triangle Class
MindFusion.Charting.Wpf Namespace