MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / length

Method length

src/Mod/Part/App/Geometry.cpp:1144–1157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1142}
1143
1144double GeomCurve::length(double u, double v) const
1145{
1146
1147 Handle(Geom_Curve) curve = Handle(Geom_Curve)::DownCast(handle());
1148
1149 try {
1150 GeomAdaptor_Curve adaptor(curve);
1151 return GCPnts_AbscissaPoint::Length(adaptor, u, v, Precision::Confusion());
1152 }
1153 catch (Standard_Failure& exc) {
1154
1155 THROWM(Base::CADKernelError, exc.GetMessageString())
1156 }
1157}
1158
1159void GeomCurve::reverse()
1160{

Callers 15

readNodesFunction · 0.45
readElementsFunction · 0.45
readResultInfoFunction · 0.45
readResultsFunction · 0.45
readResultMethod · 0.45
SaveDocFileMethod · 0.45
setSelectionMethod · 0.45
highlightBlockMethod · 0.45
calcAreaFunction · 0.45
getRefTypeByNameMethod · 0.45
readLinksMethod · 0.45
executeMethod · 0.45

Calls 2

LengthFunction · 0.85
handleFunction · 0.70

Tested by 1

calcAreaFunction · 0.36