{
GEOM::ListOfLong_var aValues = aGeomIntFieldStep->GetValues();
for( size_t i = 0, n = aValues->length(); i < n; i++ )
- aFieldStepData << (long)aValues[i];
+ aFieldStepData << (qlonglong)aValues[i];
}
}
else if( aFieldDataType == GEOM::FDT_Double )
}
Handle(GEOM_Object) aPointOnEdge;
+ Standard_Integer anEdgeIndex;
CORBA::Double aResult = GetOperations()->ProjectPointOnWire
- (aPoint, aWire, aPointOnEdge, theEdgeInWireIndex);
+ (aPoint, aWire, aPointOnEdge, anEdgeIndex);
if (!aPointOnEdge.IsNull()) {
- thePointOnEdge = GetObject(aPointOnEdge);
+ GEOM::GEOM_Object_var obj = GetObject(aPointOnEdge);
+ thePointOnEdge = obj.out();
+ theEdgeInWireIndex = anEdgeIndex;
}
return aResult;