Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deadsy/sdfx
/ functions
Functions
1,484 in github.com/deadsy/sdfx
⨍
Functions
1,484
◇
Types & classes
211
Method
Evaluate
Evaluate returns the minimum distance to a 2d line.
sdf/sdf2.go:126
Method
Evaluate
Evaluate returns the minimum distance to an offset SDF2.
sdf/sdf2.go:160
Method
Evaluate
Evaluate returns the minimum distance to the SDF2 intersection.
sdf/sdf2.go:194
Method
Evaluate
Evaluate returns the minimum distance to cut SDF2.
sdf/sdf2.go:233
Method
Evaluate
Evaluate returns the minimum distance to a transformed SDF2. Distance is *not* preserved with scaling.
sdf/sdf2.go:264
Method
Evaluate
Evaluate returns the minimum distance to an SDF2 with uniform scaling.
sdf/sdf2.go:297
Method
Evaluate
Evaluate returns the minimum distance to a grid array of SDF2s.
sdf/sdf2.go:359
Method
Evaluate
Evaluate returns the minimum distance to a union of rotated SDF2s.
sdf/sdf2.go:411
Method
Evaluate
Evaluate returns the minimum distance to a rotate/copy SDF2.
sdf/sdf2.go:465
Method
Evaluate
Evaluate returns the minimum distance to the sliced SDF2.
sdf/sdf2.go:528
Method
Evaluate
Evaluate returns the minimum distance to the SDF2 union.
sdf/sdf2.go:578
Method
Evaluate
Evaluate returns the minimum distance to the difference of two SDF2s.
sdf/sdf2.go:662
Method
Evaluate
Evaluate returns the minimum distance to an elongated SDF2.
sdf/sdf2.go:702
Method
Evaluate
Evaluate returns the minimum distance to a cached 2d sdf.
sdf/cache2.go:47
Method
Evaluate
Evaluate returns the minimum distance for a 2d mesh.
sdf/mesh2.go:299
Method
Evaluate
Evaluate returns the minimum distance for a 2d mesh.
sdf/mesh2.go:386
Method
Evaluate
Evaluate returns the minimum distance to the gear rack.
sdf/rack.go:96
Method
Evaluate
(p v3.Vec)
obj/stl.go:36
Method
EvaluateSlow
EvaluateSlow returns the minimum distance to the SDF2 union.
sdf/sdf2.go:612
Function
ExpMin
ExpMin returns a minimum function with exponential smoothing (k = 32).
sdf/utils.go:144
Method
Extend
Extend returns a box enclosing two 2d boxes.
sdf/box2.go:34
Function
FloatDecode
----------------------------------------------------------------------------- FloatDecode returns a string that decodes the float64 bitfields.
sdf/utils.go:306
Function
FloatEncode
FloatEncode encodes a float64 from sign, fraction and exponent values.
sdf/utils.go:315
Function
GenerateMesh2D
----------------------------------------------------------------------------- GenerateMesh2D generates a set of internal mesh points for an SDF2.
sdf/sdf2.go:715
Method
Get
----------------------------------------------------------------------------- Get the n-th component of the vector.
vec/v3/v3.go:175
Method
Image
Image returns the rendered image instead of writing it to a file
render/png.go:139
Method
Include
Include enlarges a 2d box to include a point.
sdf/box2.go:39
Method
Info
Info returns a string describing the rendered volume.
render/march3.go:278
Method
Info
Info returns a string describing the rendered area.
render/march2.go:141
Method
Info
Info returns a string describing the rendered area.
render/dc2.go:208
Method
Info
Info returns a string describing the rendered area.
render/march2x.go:161
Method
Info
(s sdf.SDF2)
render/render.go:29
Method
Info
Info returns a string describing the rendered volume.
render/march3x.go:173
Method
Info
Info returns a string describing the rendered volume.
render/march3p.go:368
Method
Info
Info returns a string describing the rendered volume.
render/dc/dc3v1.go:50
Method
Info
Info returns a string describing the rendered volume.
render/dc/dc3v2.go:74
Method
Intersect
Intersect returns the t parameters for the intersection between lines l and lx
sdf/line.go:220
Function
IsWatertight
IsWatertight returns true if the rendered mesh has no boundary edges.
render/mesh.go:95
Function
IsocelesTrapezoid2D
----------------------------------------------------------------------------- IsocelesTrapezoid2D
obj/shape.go:19
Method
LTEZero
LTEZero returns true if any vector components are <= 0.
vec/v3/v3.go:48
Method
LTZero
LTZero returns true if any vector components are < 0.
vec/v3/v3.go:43
Method
Len
()
vec/v2/v2.go:186
Method
Len
()
vec/v2/v2.go:195
Method
Len
()
render/delaunay.go:38
Method
Less
(i, j int)
vec/v2/v2.go:188
Method
Less
(i, j int)
vec/v2/v2.go:197
Method
Less
(i, j int)
render/delaunay.go:44
Method
Line
Line adds a line to a png object.
render/png.go:94
Method
Mesh2D
Mesh2D returns the Mesh2D for the polygon.
sdf/poly.go:346
Function
Mesh3D
Mesh3D returns an SDF3 made from a set of triangles.
sdf/mesh3.go:147
Function
Mesh3DSlow
Mesh3DSlow returns an SDF3 made from a set of triangles.
sdf/mesh3.go:186
Method
MinMaxDist2
----------------------------------------------------------------------------- Minimum/Maximum distances from a point to a box MinMaxDist2 returns the
sdf/box2.go:207
Function
MirrorX
MirrorX returns a 3x3 matrix with mirroring across the X axis.
sdf/matrix.go:200
Method
Mul
Mul multiplies 2x2 matrices.
sdf/matrix.go:388
Method
MulBox
MulBox rotates/translates a 2d bounding box and resizes for axis-alignment.
sdf/matrix.go:450
Method
MulPosition
MulPosition multiplies a v2.Vec position with a rotate/translate matrix.
sdf/matrix.go:323
Method
MulPosition
MulPosition multiplies a v2.Vec position with a rotate matrix.
sdf/matrix.go:328
Function
NewDualContouringDefault
NewDualContouringDefault uses somewhat safe defaults that sacrifice performance, you may reduce max steps and fix other parameters if facing errors
render/dc/dc3v2.go:56
Function
NewDualContouringV1
NewDualContouringV1 see DualContouringV1
render/dc/dc3v1.go:45
Function
NewM22
----------------------------------------------------------------------------- NewM22 returns a new matrix. Input is in row-major order.
sdf/matrix.go:592
Function
NewM33
----------------------------------------------------------------------------- NewM33 returns a new matrix. Input is in row-major order.
sdf/matrix.go:572
Function
NewM44
----------------------------------------------------------------------------- NewM44 returns a new matrix. Input is in row-major order.
sdf/matrix.go:550
Function
NewMarchingCubesOctreeSingle
NewMarchingCubesOctreeSingle returns a Render3 object.
render/march3x.go:166
Function
NewMarchingSquaresUniform
NewMarchingSquaresUniform returns a Render2 object.
render/march2.go:134
Function
NormalExtrude
NormalExtrude returns an extrusion function.
sdf/utils.go:190
Method
PolySpline2D
PolySpline2D returns a polygon SDF2 approximating a cubic spline SDF2.
sdf/spline.go:361
Function
PowMin
PowMin returns a minimum function (k = 8). TODO - weird results, is this correct?
sdf/utils.go:152
Method
Render
Render produces a 3d triangle mesh over the bounding volume of an sdf3.
render/march3.go:289
Method
Render
Render produces a 2d line mesh over the bounding area of an sdf2.
render/march2.go:149
Method
Render
Render produces a 2d line mesh over the bounding area of an sdf2.
render/dc2.go:216
Method
Render
Render produces a 2d line mesh over the bounding area of an sdf2.
render/march2x.go:169
Method
Render
(s sdf.SDF2, output sdf.Line2Writer)
render/render.go:28
Method
Render
Render produces a 3d triangle mesh over the bounding volume of an sdf3.
render/march3x.go:181
Method
Render
Render produces a 3d triangle mesh over the bounding volume of an sdf3.
render/march3p.go:376
Method
Render
Render produces a 3d triangle mesh over the bounding volume of an sdf3.
render/dc/dc3v1.go:58
Method
Render
Render produces a 3d triangle mesh over the bounding volume of an sdf3.
render/dc/dc3v2.go:80
Method
Reverse
Reverse reverses the order the vertices are returned.
sdf/poly.go:290
Function
RoundMin
RoundMin returns a minimum function that uses a quarter-circle to join the two objects smoothly.
sdf/utils.go:128
Function
RtoD
RtoD converts radians to degrees
sdf/utils.go:62
Function
SaveDXF
----------------------------------------------------------------------------- SaveDXF writes line segments to a DXF file.
render/dxf.go:93
Function
SaveSVG
----------------------------------------------------------------------------- SaveSVG writes line segments to an SVG file.
render/svg.go:76
Method
ScaleAboutCenter
ScaleAboutCenter returns a new 2d box scaled about the center of a box.
sdf/box2.go:59
Method
SetExtrude
SetExtrude sets the extrusion control function.
sdf/sdf3.go:217
Method
SetMax
SetMax sets the maximum function to control blending.
sdf/sdf3.go:814
Method
SetMax
SetMax sets the maximum function to control blending.
sdf/sdf2.go:199
Method
SetMax
SetMax sets the maximum function to control blending.
sdf/sdf2.go:667
Method
SetMin
SetMin sets the minimum function to control blending.
sdf/sdf3.go:885
Method
SetMin
SetMin sets the minimum function to control blending.
sdf/sdf3.go:956
Method
SetMin
SetMin sets the minimum function to control blending.
sdf/sdf2.go:354
Method
SetMin
SetMin sets the minimum function to control blending.
sdf/sdf2.go:423
Method
SetMin
SetMin sets the minimum function to control SDF2 blending.
sdf/sdf2.go:626
Method
Snap
Snap a point to the box edges
sdf/box3.go:97
Method
String
()
sdf/cache2.go:41
Method
SubScalar
SubScalar subtracts a scalar from each component of the vector.
vec/v3i/v3i.go:26
Method
SubScalar
SubScalar subtracts a scalar from each component of the vector.
vec/v2i/v2i.go:26
Method
Swap
(i, j int)
vec/v2/v2.go:187
Method
Swap
(i, j int)
vec/v2/v2.go:196
Method
Swap
(i, j int)
render/delaunay.go:41
Function
TOKEN
(r)
tools/ply/lex.py:1089
Function
TestAbs
-----------------------------------------------------------------------------
vec/v2/v2_test.go:147
← previous
next →
1,101–1,200 of 1,484, ranked by callers