MCPcopy
hub / github.com/CadQuery/cadquery / normalized

Method normalized

cadquery/occ_impl/geom.py:171–173  ·  view source on GitHub ↗

Return a normalized version of this vector

(self)

Source from the content-addressed store, hash-verified

169 return self.multiply(scale)
170
171 def normalized(self) -> "Vector":
172 """Return a normalized version of this vector"""
173 return Vector(self.wrapped.Normalized())
174
175 def Center(self) -> "Vector":
176 """Return the vector itself

Callers 13

__init__Method · 0.95
_setPlaneDirMethod · 0.95
testVectorProjectMethod · 0.95
workplaneMethod · 0.80
sagittaArcMethod · 0.80
locationAtMethod · 0.80
normalAtMethod · 0.80
normalsMethod · 0.80
tangentAtMethod · 0.80
testMultisectionSweepMethod · 0.80
testFaceToPlnMethod · 0.80

Calls 1

VectorClass · 0.85

Tested by 5

testVectorProjectMethod · 0.76
testMultisectionSweepMethod · 0.64
testFaceToPlnMethod · 0.64
test_constraint_getPlnFunction · 0.64