SimMap map = reader.getMap(); Coord max = map.getMaxBound(); Coord min = map.getMinBound(); assertEquals(2.0, max.getX()); assertEquals(5.0, max.getY()); assertEquals(1.0, min.getX()); assertEquals(1.0, min.getY()); map.translate(-1, -1); max = map.getMaxBound(); min = ...
VOID Bound::Merge(constBound& Other ) { Sphere OtherSphere; OtherSphere.Center = Other.GetCenter(); OtherSphere.Radius = Other.GetMaxRadius();if( m_Type == Bound::No_Bound ) { SetSphere( OtherSphere );return; } Sphere ThisSphere;if( m_Type != Bound::Sphere_Bound ) {// convert ...
transport.getMaxInboundMessageSize(), messageProcessingModel, securityModel, 代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.snmp4j newInteger32(sourceTransport.getMaxInboundMessageSize()); StatusInformationstatusInfo=newStatusInformation(); MutableStateReferencemutableStateReferen...