Click or drag to resize

Util Class

Here all purpose methods will be stored
Inheritance Hierarchy
SystemObject
  PolyFrameworkUtil

Namespace:  PolyFramework
Assembly:  PolyFramework (in PolyFramework.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax
public static class Util

The Util type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAngle
True angle between 2 3d vectors Using direction of the cross product
Public methodStatic memberAngleDeviationBlue
Public methodStatic memberAveragePoints
Public methodStatic memberBakeErrorGeo
Bakes the problem geometry to the document on a special layer Geometry is colored -> Orange and will have the a name that is showing what the problem is!
Public methodStatic memberBFacePlanaritiy
Public methodStatic memberConnectDuals
goes through all members of both foam objects and replaces dummy objects with real dual references from the other foam works only if the foam objects have the dummy duals set will throw exception if the two are not dual of each other
Public methodStatic memberCreateBlue
Public methodStatic memberDecompose
Public methodStatic memberDecomposeG
Decomposes breps from a list of guids pointing at breps in the document. Does nothing if they are not breps.
Public methodStatic memberDeserializeFoam
This deserializes a whole foam object from a Json string. Since it only looks at a singular object the dual cannot be deserialized here. Instead placeholder object will be used in the properties for the dual.
Public methodStatic memberDeserializeFoamFromJsonFile
Public methodStatic memberDeviationToColorList
Public methodStatic memberDeviationToColorListGreenRed
Public methodStatic memberDot
Dot product a.b vectors
Public methodStatic memberDotAngle
Simple dot angle - calculates the smallest angle between 2 vectors
Public methodStatic memberExtractFaces
Public methodStatic memberGetBrepfromGuids
Converts guids to breps. Also sets the order of geometry pick-up If geometry has order in user dictionary it is sorted by that If geometry has no order or only partial order an order values is written to the geo All compound breps are exploded and order is written in each face.
Public methodStatic memberGetNistTime
Public methodStatic memberInsideHedra
calculates if a point is inside a uni di, or tri
Public methodStatic memberLengthDeviationBlue
Public methodStatic memberPointFromDict
Public methodStatic memberPVToDict(Point3d)
Public methodStatic memberPVToDict(Vector3d)
Public methodStatic memberScaleDeviationBlue
Public methodStatic memberValueUnitizer
Public methodStatic memberVectorFromDict
Public methodStatic memberWeightedAverage
Top
See Also