PolyLink
A library to allow manipulation of geometry from within Mathematica
 All Classes Namespaces Files Functions Variables Properties
PolyLink.Polyhedron Class Reference

A polyhedron! It contains a list of facets. More...

Inheritance diagram for PolyLink.Polyhedron:
PolyLink.MathLinked

Public Member Functions

 Polyhedron ()
 
void AddFacet (Facet f)
 
void AddFacets (IEnumerable< Facet > facets)
 
void AddFacets (Facet[] facets)
 
IEnumerable< Facet[]> SlowDangerousIntersectionTest ()
 
IEnumerable< Facet[]> ConvexAssumingInteresectionTest ()
 
void Triangulate ()
 
void MakeNumerical ()
 
Polyhedron CloneAll ()
 
void ForceHalfEdgesToReferenceFacets ()
 
void TagFacets ()
 
Expr Labelize (Func< int, Facet, Expr > labelizer)
 
Facet PickFacet (int n)
 
HalfEdge PickHalfEdge (int fNumber, int hNumber)
 
void FusePoints ()
 Forces HalfEdges to share PointRefs when their PointRefs already refer the same point in space. More...
 

Properties

IEnumerable< FacetFacets [get]
 
Facet[] FacetArray [get]
 
Expr Graphics [get]
 
IEnumerable< HalfEdgeHalfEdges [get]
 
IEnumerable< HalfEdgeOutOfOrderHalfEdges [get]
 
Expr HalfEdgeGraphics [get]
 
Expr NormalGraphics [get]
 
Expr Labels [get]
 
Expr InsetLabels [get]
 
Expr AllLabels [get]
 
IEnumerable< HalfEdgeTornHalfEdges [get]
 

Detailed Description

A polyhedron! It contains a list of facets.

Definition at line 14 of file Polyhedron.cs.

Constructor & Destructor Documentation

PolyLink.Polyhedron.Polyhedron ( )

Definition at line 16 of file Polyhedron.cs.

Member Function Documentation

void PolyLink.Polyhedron.AddFacet ( Facet  f)

Definition at line 50 of file Polyhedron.cs.

void PolyLink.Polyhedron.AddFacets ( IEnumerable< Facet facets)

Definition at line 55 of file Polyhedron.cs.

void PolyLink.Polyhedron.AddFacets ( Facet[]  facets)

Definition at line 60 of file Polyhedron.cs.

Polyhedron PolyLink.Polyhedron.CloneAll ( )

Definition at line 127 of file Polyhedron.cs.

IEnumerable<Facet[]> PolyLink.Polyhedron.ConvexAssumingInteresectionTest ( )

Definition at line 95 of file Polyhedron.cs.

void PolyLink.Polyhedron.ForceHalfEdgesToReferenceFacets ( )

Definition at line 160 of file Polyhedron.cs.

void PolyLink.Polyhedron.FusePoints ( )

Forces HalfEdges to share PointRefs when their PointRefs already refer the same point in space.

Definition at line 234 of file Polyhedron.cs.

Expr PolyLink.Polyhedron.Labelize ( Func< int, Facet, Expr >  labelizer)

Definition at line 195 of file Polyhedron.cs.

void PolyLink.Polyhedron.MakeNumerical ( )

Definition at line 118 of file Polyhedron.cs.

Facet PolyLink.Polyhedron.PickFacet ( int  n)

Definition at line 207 of file Polyhedron.cs.

HalfEdge PolyLink.Polyhedron.PickHalfEdge ( int  fNumber,
int  hNumber 
)

Definition at line 226 of file Polyhedron.cs.

IEnumerable<Facet[]> PolyLink.Polyhedron.SlowDangerousIntersectionTest ( )

Definition at line 83 of file Polyhedron.cs.

void PolyLink.Polyhedron.TagFacets ( )

Definition at line 184 of file Polyhedron.cs.

void PolyLink.Polyhedron.Triangulate ( )

Definition at line 112 of file Polyhedron.cs.

Property Documentation

Expr PolyLink.Polyhedron.AllLabels
get

Definition at line 213 of file Polyhedron.cs.

Facet [] PolyLink.Polyhedron.FacetArray
get

Definition at line 31 of file Polyhedron.cs.

IEnumerable<Facet> PolyLink.Polyhedron.Facets
get

Definition at line 24 of file Polyhedron.cs.

Expr PolyLink.Polyhedron.Graphics
get

Definition at line 36 of file Polyhedron.cs.

Expr PolyLink.Polyhedron.HalfEdgeGraphics
get

Definition at line 74 of file Polyhedron.cs.

IEnumerable<HalfEdge> PolyLink.Polyhedron.HalfEdges
get

Definition at line 46 of file Polyhedron.cs.

Expr PolyLink.Polyhedron.InsetLabels
get

Definition at line 180 of file Polyhedron.cs.

Expr PolyLink.Polyhedron.Labels
get

Definition at line 175 of file Polyhedron.cs.

Expr PolyLink.Polyhedron.NormalGraphics
get

Definition at line 170 of file Polyhedron.cs.

IEnumerable<HalfEdge> PolyLink.Polyhedron.OutOfOrderHalfEdges
get

Definition at line 66 of file Polyhedron.cs.

IEnumerable<HalfEdge> PolyLink.Polyhedron.TornHalfEdges
get

Definition at line 260 of file Polyhedron.cs.


The documentation for this class was generated from the following file: