PFoam Class |
[Missing <summary> documentation for "T:PolyFramework.PFoam"]
Namespace: PolyFramework
The PFoam type exposes the following members.
| Name | Description | |
|---|---|---|
| Cells | ||
| Centroid | ||
| Dual | ||
| Edges | ||
| ExtEdges |
The (sub)list of edges sticking out of the primer exterior cell - this applies to the dual only
| |
| ExtFaces |
The (sub)list of incomplete faces sticking outside of the exterior primer cell - this applies to dual only
| |
| ExtVetices |
The (sub)list of the vertexes outside of the exterior cell - this applies to the dual only
| |
| Faces | ||
| Id | ||
| MaxDeviation | ||
| Vertices |
| Name | Description | |
|---|---|---|
| BakeCellsAsBreps | ||
| BlueBrepFaces | ||
| CellPartition |
Creates "ripples" of cells originating from the input list of cells
The input cells can be disjoint "ripples" will be created from each cluster.
| |
| ComputeDualVertices |
Alternative method used for refreshing the dual when there is no need to created the topology structure.
Just the new positions for the vertices are computed.
| |
| ComputePrimalVertices |
Alternative method used for refreshing the dual when there is no need to created the topology structure.
Just the new positions for the vertices are computed.
| |
| ConstructCells |
Extract all the facePairs from the half-edges into one dictionary.
Create all the cells from the face pairs
| |
| ConstructCellsAndSplit |
Extract all the facePairs from the half-edges into one dictionary.
Create all the cells from the face pairs
| |
| Contamination |
Creates outward waves from a preexisting specified set of sets of cells.
Each set creates its own waves
| |
| CreateDual |
Creates another polyhedral foam, the dual of the object that invokes the method
| |
| CreatePrimal |
Creates another polyhedral foam, the dual of the object that invokes the method
This version is made to create the dual of the dual - so the primal
| |
| EdgeSmoothing |
Edge length smoothing routine. All edges will be resized based on specified parameters.
Orientation will be kept within the supplied tolerance.
Edges will be resized inside the supplied foam object.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| ExtractPairEdges |
Adds the edge pairs to the list of the foam object
| |
| ExtractPairFaces |
Adds the face pairs to the list of the foam object.
| |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| FoamPartition |
Creates a list of cell lists based on the cell connection graph
Cell->Face->FacePair->NeighborCell
Used mostly for splitting separate parts of the foam
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Hide | ||
| IsForm |
Return true if the diagram is form ;
| |
| MakeCells | ||
| MakeMultipleCells | ||
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MoveFaceVertices | ||
| MoveFaceVertices_Form | ||
| Offset |
Offsets a foam in 3d space
| |
| Partition |
This is not used atm
Creates a set of edge lists based on BFS
| |
| Perp |
Perpendicularization of the edges based on the normal stored in the .Dual.Normal (face)
| |
| PerpSoft |
Perpendicularization of the edges based on the normal stored in the .Dual.Normal (face)
| |
| PickEdge | ||
| PickEdges | ||
| PickEdgeSingle | ||
| PickFaces | ||
| PickVertex | ||
| PickVertexSingle |
Simple version of the above method that only returns a single vertex
Does not add any properties to the vertex.
| |
| PipeDual |
Builds a pipe representation of the PolyFrame
It bakes it to the document together with a line representation for all elements.
| |
| PipeGeoDual |
Create a the pipe system for the Edges of the Pfoam
Also output the colors for the edges/pipes
This is mostly for Grasshopper use.
| |
| Planarize | ||
| PlanarizeSoft | ||
| ProcessBFaces |
Create part of the hierarchy of the HalfFace data structure
| |
| ProcessFaces |
Create part of the hierarchy of the HalfFace data structure
| |
| SaveAsCells |
Creates the cell geometry as polySurfaces
| |
| SaveAsEdges |
Saves the foam as a group of color-coded lines in the Rhino document
For each line a user dictionary is saved with the following entries:
EdgeId, StartVertexId, EndVertexId
The first line contains a JSON serialization for the whole foam +
If available the dual will also be saved
| |
| SaveAsFaces |
Saves the foam object as a set of trimmed surfaces (one faced breps)
For each brep it saves an entry in the user dictionary with the faceId
For each vertex in the brep as Point an entry in the user dictionary is saved with the PFvertex Id
| |
| SaveToDocument(ContainerType) | ||
| SaveToDocument(Boolean, ContainerType) | ||
| ScaleEdges |
The method is for internal use.
It takes care of an internal loop that scales the edges to the average
| |
| SerializeDict | ||
| SerializeFoamToFile | ||
| SerializeJson |
Serializes the whole foam as a JSON string
| |
| SetVertexConstraints(IListPFVertex, RhinoObject, Double, Boolean) | ||
| SetVertexConstraints(IListPFVertex, GeometryBase, Double, Boolean) | ||
| Show | ||
| ShowCells | ||
| SimpleSmoothing2 |
Edge length smoothing routine. All edges will be resized based on specified parameters.
Orientation will be kept within the supplied tolerance.
Edges will be resized inside the supplied foam object.
| |
| SortPartsInFaces | ||
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| UpdateEdgesWithFaces |
Puts all the faces in the corresponding edges.
Also looks to see if the edge is naked and marks it and its face as external
| |
| VolumeSphCyl |